Example #1
0
 protected virtual void OnGoal(RaceGoal arg)
 {
     Debug.Log("[RaceBehavior] OnGoal : msg : " + arg.Msg);
 }
Example #2
0
 protected override void OnGoal(RaceGoal arg)
 {
     Destroy(arg.Obj);
     m_Spawn.Spawn();
 }