private void Play(PlayObjectAnimations playObject) { if (Anim == null) { return; } playObject.Play(Anim); }
public void Setup(PlayObjectAnimations playObject) { if (Anim == null) { return; } playObject.AddClip(Anim); }
public void Play(PlayObjectAnimations playObject, AudioSource source) { if (Anim == null && Audio == null) { return; } Play(playObject); Play(source); }