private void SwapSkin(WaveEnvironmentSwapper swapper, int waveIndex) { _skinHelper.SetSkin(swapper.Skin); TrackEntry trackEntry = _spineAnimationHelper.SetAnimation(swapper.Animation, true); OnWaveAnimationSet(waveIndex, trackEntry); }
protected override bool InitializeLocalPlayer(Guid id) { if (!base.InitializeLocalPlayer(id)) { return(false); } PlayerViewer = GameManager.Instance.Viewer; GamePlayerBehavior.InitializeEffects(); _skinHelper.SetSkin(SkinIndex); return(true); }
public void SetDefaultSkin() { _skinHelper.SetSkin(0); }