Esempio n. 1
0
 void Start()
 {
     controllerChecker = GameObject.Find("ControllerChecker");
     invHud            = GameObject.Find("Inventory");
     modoDetective     = GetComponent <ModoDetective>();
     rb = GetComponent <Rigidbody2D>();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     modoDetective = GameObject.Find("PlayerProto").GetComponent <ModoDetective>(); //CAMBIAR "PLAYERPROTO" A "PLAYER" CUANDO SE TENGAN ASSETS
 }