I tried this existing plugin from @vladfaust but soon found some problems with it. I tried to fix those problems and create PRs, but failed. So, I took it upon myself to create something new. Where possible, I've used the same settings as @vladfaust's plugin, so your settings should still work here.
- Open your Unity project and navigate to "Window -> Package Manager".
- Click on the little
+
sign and choose "Add package from git URL...". - Enter the following URL: "https://github.com/vanBassum/Wakatime.Unity.git"
- After installation, a new menu button will be added under "Services -> vanbassum -> Wakatime".
- Open this menu, click "Enable WakaTime" and enter the API key.
- Also ensure that "WakaTime CLI" path is set to the correct absolute path of your WakaTime CLI executable (download here)
- Click "Save preferences" and enjoy working with this plugin.
- Add an auto update feature that downloads the cli automatically
- Add setup instructions
- Support Unity package manager
- Add getting started
- Add console logging
- Catch events and create heartbeats
- Send heartbeats async to wakatime
- Implement heartbeat call
- Implement heartbeat bulk call
- Implement cooldown technique
- Handle http status codes
- Improve settings UI
- Add setting, logging niveau
- Add button to open dashboard
- Add button to open ApiKey page
- Add info to heartbeat
- Git branching info
- Current OS
- Editor information.