Exemplo n.º 1
0
        private void SwapSkin(WaveEnvironmentSwapper swapper, int waveIndex)
        {
            _skinHelper.SetSkin(swapper.Skin);

            TrackEntry trackEntry = _spineAnimationHelper.SetAnimation(swapper.Animation, true);

            OnWaveAnimationSet(waveIndex, trackEntry);
        }
Exemplo n.º 2
0
        protected override bool InitializeLocalPlayer(Guid id)
        {
            if (!base.InitializeLocalPlayer(id))
            {
                return(false);
            }

            PlayerViewer = GameManager.Instance.Viewer;
            GamePlayerBehavior.InitializeEffects();

            _skinHelper.SetSkin(SkinIndex);

            return(true);
        }
Exemplo n.º 3
0
 public void SetDefaultSkin()
 {
     _skinHelper.SetSkin(0);
 }