Skip to content

Commit 6e47902

Browse files
committed
Merge branch 'main' into develop
2 parents 8abf721 + f415af7 commit 6e47902

27 files changed

Lines changed: 67 additions & 48 deletions

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## [0.4.2] - Aug 20, 2025
4+
- The Timers package has been renamed to TimerKit
5+
36
## [0.4.1] - Aug 20, 2025
47
- Added ServiceKit support
58

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
# Timers
1+
<div align=center>
22

3-
## Overview
4-
**Timers** is a versatile, easy-to-use timer component designed for Unity projects. Whether you're building a countdown for a game level, managing cooldowns, or triggering events at specific intervals, this package provides a robust solution. It combines basic timing functionality with advanced features, all wrapped in an extensible and Unity-friendly design.
3+
<p align="center">
4+
<img src="Readme~\logo.png" width="500">
5+
</p>
6+
7+
### TimerKit is a versatile, easy-to-use timer component designed for [Unity](https://unity.com/)
8+
9+
Whether you're building a countdown for a game level, managing cooldowns, or triggering events at specific intervals, TimerKit provides a robust solution. It combines basic timing functionality with advanced features, all wrapped in an extensible and Unity-friendly design.
10+
11+
</div>
512

613
### Features
714
- **Basic Operations**: Start, stop, reset, and query the timer's state.
@@ -15,11 +22,11 @@
1522
- **Service Locator Support**: Optional integration with dependency injection patterns.
1623

1724
## Installation
18-
Add the Timers package to your Unity project via the Unity Package Manager:
25+
Add the TimerKit package to your Unity project via the Unity Package Manager:
1926

2027
1. Open the Package Manager (`Window > Package Manager`).
2128
2. Click the **+** button and select **"Add package from git URL"**.
22-
3. Enter: `https://github.com/PaulNonatomic/Timer.git`.
29+
3. Enter: `https://github.com/PaulNonatomic/TimerKit.git`.
2330
4. Click **Add**.
2431

2532
## Timer Architecture
@@ -46,7 +53,7 @@ The package provides a flexible hierarchy of timer classes to suit different nee
4653
For Unity integration with Inspector support:
4754

4855
```csharp
49-
using Nonatomic.Timers;
56+
using Nonatomic.TimerKit;
5057
using UnityEngine;
5158

5259
public class CountdownExample : MonoBehaviour
@@ -67,7 +74,7 @@ public class CountdownExample : MonoBehaviour
6774
For pure C# usage without Unity dependencies:
6875

6976
```csharp
70-
using Nonatomic.Timers;
77+
using Nonatomic.TimerKit;
7178

7279
public class StandaloneExample
7380
{

Readme~/logo.png

102 KB
Loading

Runtime/BasicTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using UnityEngine;
33

4-
namespace Nonatomic.Timers
4+
namespace Nonatomic.TimerKit
55
{
66
/// <summary>
77
/// A basic countdown timer implementation without milestone support.

Runtime/Extensions/ServiceKit/BaseTimerService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System;
22
using Nonatomic.ServiceKit;
33

4-
#if TIMERS_SERVICE_KIT
4+
#if TIMERKIT_SERVICEKIT_SUPPORT
55

6-
namespace Nonatomic.Timers.Extensions.ServiceKit
6+
namespace Nonatomic.TimerKit.Extensions.ServiceKit
77
{
88
public interface IBaseTimerService : ITimer
99
{

Runtime/Extensions/ServiceKit/TimerService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#if TIMERS_SERVICE_KIT
1+
#if TIMERKIT_SERVICEKIT_SUPPORT
22

3-
namespace Nonatomic.Timers.Extensions.ServiceKit
3+
namespace Nonatomic.TimerKit.Extensions.ServiceKit
44
{
55
public interface ITimerService : IBaseTimerService
66
{

Runtime/Extensions/ServiceLocator/BaseTimerService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#if TIMERS_SERVICE_LOCATOR
1+
#if TIMERKIT_SERVICE_LOCATOR_SUPPORT
22

33
using System;
44
using Nonatomic.ServiceLocator;
55
using UnityEngine;
66

7-
namespace Nonatomic.Timers.Extensions.ServiceLocator
7+
namespace Nonatomic.TimerKit.Extensions.ServiceLocator
88
{
99
public interface IBaseTimerService : ITimer
1010
{

Runtime/Extensions/ServiceLocator/TimerService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#if TIMERS_SERVICE_LOCATOR
1+
#if TIMERKIT_SERVICE_LOCATOR_SUPPORT
22

3-
namespace Nonatomic.Timers.Extensions.ServiceLocator
3+
namespace Nonatomic.TimerKit.Extensions.ServiceLocator
44
{
55
public interface ITimerService : IBaseTimerService
66
{

Runtime/IBasicTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Nonatomic.Timers
3+
namespace Nonatomic.TimerKit
44
{
55
/// <summary>
66
/// Defines a contract for basic timer functionality without milestone support.

Runtime/IReadOnlyTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Nonatomic.Timers
1+
namespace Nonatomic.TimerKit
22
{
33
public interface IReadOnlyTimer
44
{

0 commit comments

Comments
 (0)