Summary
SetDataTick callback called by the stone when it applies a tick's state to TimeAgents
This is the callback where you apply your custom data of your gameObject.
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Agents - Containing Type
- TimeAgent
Syntax
public virtual void SetDataTick(TimeStone stone, int tick)
Remarks
Use UnityEvent or override to use
You can use
GenericTimeAgent
to use it in a simple way, but be careful with performances as it relies on Reflection
TimeStone
is given as a parameter in case you have multiple TimeStone
using the same TimeAgent
Parameters
Return Value
Type | Description |
---|---|
void |