Esempio n. 1
0
        void Check()
        {
            //yield return new WaitForSeconds(0.1f);
            var s = StartPosition;

            _trigersTutorial.SetStartPosition(s.position.x, s.position.y, s.position.z);
            _trigersTutorial.ShowTutorialHint(nameButton, triggerOrder);
            //Destroy(gameObject);
        }
Esempio n. 2
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "BodyCollider")
     {
         var s = StartPosition;
         _trigersTutorial.SetStartPosition(s.position.x, s.position.y, s.position.z);
         _trigersTutorial.ShowTutorialHint(nameButton, triggerOrder);
         //Destroy(gameObject);
     }
 }