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