16 lines
417 B
C#
16 lines
417 B
C#
using System;
|
|
|
|
namespace BITKit
|
|
{
|
|
public interface ITicker
|
|
{
|
|
void Add(Action action);
|
|
void AddAsUpdate(Action<float> action);
|
|
void AddAsFixedUpdate(Action<float> action);
|
|
void RemoveAsUpdate(Action<float> action);
|
|
void RemoveAsFixedUpdate(Action<float> action);
|
|
}
|
|
public interface IMainTicker : ITicker { }
|
|
public interface IThreadTicker : ITicker { }
|
|
}
|