Ejemplo n.º 1
0
    void Awake()
    {
        anim   = GetComponent <Animator> ();
        rb2d   = GetComponent <Rigidbody2D> ();
        tiempo = 60;

        mobileInputs = mobileInputsObject.GetComponent <MobileInputsWithoutJoystick>();
    }
Ejemplo n.º 2
0
    void Awake()
    {
        anim = GetComponent <Animator>();
        rb2D = GetComponent <Rigidbody2D>();
        sr   = GetComponent <SpriteRenderer>();
        MoneyManager.IniciateMoney();

        mobileInputs = mobileInputsObject.GetComponent <MobileInputsWithoutJoystick>();
    }
Ejemplo n.º 3
0
 private void Awake()
 {
     mobileInputs = mobileInputsObject.GetComponent <MobileInputsWithoutJoystick>();
 }