Ejemplo n.º 1
0
 void Start()
 {
     playerStatus = GetComponent <PlayerStatusAnimator>();
     playerStatus.StatusUpdateHandler += OnStatusUpdate;
     audioSource = GetComponent <AudioSource>();
     rbs         = GetComponentsInChildren <Rigidbody>();
     anim        = GetComponent <Animator>();
 }
Ejemplo n.º 2
0
    // Start is called before the first frame update

    private void Awake()
    {
        playerStatus = GetComponent <PlayerStatusAnimator>();
        audioSource  = GetComponent <AudioSource>();
    }
Ejemplo n.º 3
0
    // Start is called before the first frame update

    private void Awake()
    {
        playerStatus = GetComponent <PlayerStatusAnimator>();
    }