Inheritance: MonoBehaviour
Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        spriteAnim = this.GetComponentInChildren<Animator> ();
        characterController = this.GetComponentInParent<NewMovementScript> ();

        isDead = 0;
    }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        spriteAnim          = this.GetComponentInChildren <Animator> ();
        characterController = this.GetComponentInParent <NewMovementScript> ();

        isDead = 0;
    }