Esempio n. 1
0
 public void Start()
 {
     if (OnCreated != null)
     {
         StartCoroutine(OnCreated.ExecuteCoRoutine(gameObject));
     }
 }
Esempio n. 2
0
 public void OnCollisionEnter(Collision collision)
 {
     if (OnCollision != null)
     {
         StartCoroutine(OnCollision.ExecuteCoRoutine(gameObject));
     }
 }