Class TickService
Tick Service system that ticks every registered IUseTickService interfaces
Assembly: cs.temp.dll.dll
Syntax
Constructors
TickService(Int32)
Declaration
public TickService(int fps)
Parameters
Type |
Name |
Description |
Int32 |
fps |
|
Fields
OnTick
Declaration
public UnityAction OnTick
Field Value
Type |
Description |
UnityAction |
|
Properties
fps
Declaration
Property Value
hasRegisteredTargets
Declaration
public bool hasRegisteredTargets { get; }
Property Value
maxFPS
Declaration
public static int maxFPS { get; }
Property Value
minFPS
Declaration
public static int minFPS { get; }
Property Value
registeredTargetsCount
Declaration
public int registeredTargetsCount { get; }
Property Value
tickInterval
Declaration
public float tickInterval { get; }
Property Value
Methods
Register(IUseTickService)
Declaration
public void Register(IUseTickService target)
Parameters
SetFPS(FPS)
Declaration
public void SetFPS(FPS value)
Parameters
Type |
Name |
Description |
FPS |
value |
|
SetFPS(Int32)
Declaration
public void SetFPS(int value)
Parameters
Type |
Name |
Description |
Int32 |
value |
|
Tick()
Declaration
Unregister(IUseTickService)
Declaration
public void Unregister(IUseTickService target)
Parameters