void Awake() { anim = GetComponent <Animator> (); rb2d = GetComponent <Rigidbody2D> (); tiempo = 60; mobileInputs = mobileInputsObject.GetComponent <MobileInputsWithoutJoystick>(); }
void Awake() { anim = GetComponent <Animator>(); rb2D = GetComponent <Rigidbody2D>(); sr = GetComponent <SpriteRenderer>(); MoneyManager.IniciateMoney(); mobileInputs = mobileInputsObject.GetComponent <MobileInputsWithoutJoystick>(); }
private void Awake() { mobileInputs = mobileInputsObject.GetComponent <MobileInputsWithoutJoystick>(); }