Example #1
0
    private void Start()
    {
        selfAnimator = GetComponent <Animator>();

        i_follower = follower.GetComponent <IPhysicsInteract>();

        selfAudioSource = GetComponent <AudioSource>();
        EventManager.Instance.AddListener(EVENT_TYPE.AUDIO, this);
    }
Example #2
0
 private void Start()
 {
     thisButton  = GetComponentInParent <StepButton>();
     i_thisButon = thisButton.GetComponent <IPhysicsInteract>();
 }