Пример #1
0
            private void Play(PlayObjectAnimations playObject)
            {
                if (Anim == null)
                {
                    return;
                }

                playObject.Play(Anim);
            }
Пример #2
0
            public void Setup(PlayObjectAnimations playObject)
            {
                if (Anim == null)
                {
                    return;
                }

                playObject.AddClip(Anim);
            }
Пример #3
0
            public void Play(PlayObjectAnimations playObject, AudioSource source)
            {
                if (Anim == null && Audio == null)
                {
                    return;
                }

                Play(playObject);
                Play(source);
            }