private void Start() { selfAnimator = GetComponent <Animator>(); i_follower = follower.GetComponent <IPhysicsInteract>(); selfAudioSource = GetComponent <AudioSource>(); EventManager.Instance.AddListener(EVENT_TYPE.AUDIO, this); }
private void Start() { thisButton = GetComponentInParent <StepButton>(); i_thisButon = thisButton.GetComponent <IPhysicsInteract>(); }