Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     for (int i = 0; i < conditions.Length; i++)
     {
         conditions[i].Init(this);
     }
     defaultReaction.Init(this);
 }
Exemple #2
0
 internal void Init(MonoBehaviour mono)
 {
     for (int i = 0; i < conditions.Length; i++)
     {
         conditions[i].Init();
     }
     reaction.Init(mono);
 }