// Use this for initialization void Awake() { if (Player_Inputs.instance == null) { Player_Inputs.instance = this; } else { Destroy(this.gameObject); } // else } // fin del Awake
// Player_View colliderPlayer = new Player_View(); // Use this for initialization void Start() { playerInputs = GameObject.Find("Panel_inputs").GetComponent <Player_Inputs>(); }
private void Awake() { playerAnimator = GetComponent <Animator>(); playerInputControls = new Player_Inputs(); playerConversant = GetComponent <PlayerConversant>(); }