Skip to content

A Unity time monitor to see time spent on a project

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

OpGala/TimeMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeMonitor

TimeMonitor is a Unity asset designed to help developers track the amount of time spent working on a project. It provides detailed logs of work sessions and various visualization tools to understand the time investment in a project.

This asset is still very early in development but can be use without problem

Features

  • Detailed Session Tracking: Logs every session with start and end times.
  • Monthly and Daily Logs: Organizes sessions into monthly and daily logs.
  • Interactive Calendar View: Visualizes the time spent on each day in a calendar format.
  • Line Graph and Histogram: Provides graphical representations of time spent per day.
  • Productivity Reports: Generates weekly and monthly reports on the time spent on the project.
  • Trend Analysis: Visualizes the evolution of time spent on the project over different periods.
  • Code Editor Activity Detection: Detects activity in selected code editors (Visual Studio, Rider, VS Code) and continues tracking time even if Unity is paused.

How It Works

Installation

  1. Clone or download the TimeMonitor repository.
  2. Place the TimeMonitor folder into your Unity project's Assets directory.

Usage

  1. Opening the Time Monitor:

    • Go to Tools > Time Monitor in the Unity menu to open the Time Monitor window.
  2. Tracking Time:

    • The asset automatically tracks your sessions when the window is open. It logs the start and end times of each session. Closing the window or Unity ends a session that registers automatically.
  3. Viewing Logs:

    • The main window displays the current session time and total project time.
    • Use the buttons to switch between Calendar View, Line Graph, and Histogram.
  4. Settings:

    • Click on the "Settings" button at the top of the window to open the Settings window.
    • Options in the Settings window:
      • Combine All Sessions: Combines multiple sessions of the same day into one to clean up data.
      • Clear All Data: Deletes all logged data.
      • Select Code Editor: Choose your preferred code editor (Visual Studio, Rider, VS Code) to continue tracking time when Unity is paused.

Every session is logged in a friendly format in the sub data folder in a scriptable object. It allows you to easily add missing sessions or delete some, and pass data to a new Unity project. At the opening of the window, the asset will look for that scriptable object; if none is found, one will be created.

Visualizations

  • Calendar View:

    • Displays a calendar for the selected month, showing the time spent on each day.
  • Line Graph:

    • Plots the hours worked per day over the selected date range.
  • Histogram:

    • Displays a bar chart of hours worked per day over the selected date range.

Productivity Reports

  • Weekly Report:

    • Generates a report summarizing the total hours worked, average daily hours, and other statistics for the past week.
  • Monthly Report:

    • Generates a report summarizing the total hours worked, average daily hours, and other statistics for the past month.

Trend Analysis

  • Trend Visualization:
    • Displays trends in hours worked per day over a specified date range, allowing you to see changes in productivity over time.

Known Issues

  • This asset is still very early in development
  • Unsolved issues or actual limitations will be posted here

Changelog

Version 0.3

  • Added productivity reports to generate weekly and monthly summaries.
  • Added trend analysis to visualize changes in time spent over different periods.
  • Implemented code editor activity detection for Visual Studio, Rider, and VS Code to continue tracking time when Unity is paused.

Version 0.2

  • Added a "Settings" button with options to combine sessions and clear all data.
  • Implemented interactive calendar view.
  • Added line graph and histogram visualizations.
  • Enhanced session logging with monthly and daily organization.
  • Improved UI for selecting date ranges and viewing logs.
  • Make use of Scriptable objects to register data.

About

A Unity time monitor to see time spent on a project

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages