Ejemplo n.º 1
0
 void Start()
 {
     rayCaster     = gameObject.GetComponent <RayCastTrigger>();
     wildBehaviour = GameObject.Find("EventSystem").GetComponent <WildBehaviour>();
     endLevel      = GameObject.Find("EventSystem").GetComponent <EndLevel>();
 }
 void Start()
 {
     endLevel    = GameObject.Find("EventSystem").GetComponent <EndLevel>();
     spriteMover = gameObject.GetComponent <SpriteMover>();
     rayCaster   = gameObject.GetComponent <RayCastTrigger>();
 }