TimeAgent.

ClonedForSimulation(TimeStone) Method

Summary

ClonedForSimulation callback called by timeStone

Syntax

public virtual void ClonedForSimulation(TimeStone stone)

Remarks

Override to use. UnityEvent can't be used here because object has just been cloned when it's called and can't receive event at that moment. TimeStone is given as a parameter in case you have multiple TimeStone using the same TimeAgent

Parameters

Name Type Description
stone TimeStone The TimeStone that called this method

Return Value

Type Description
void