コード例 #1
0
ファイル: PlaneView.cs プロジェクト: wof2/Wings-Of-Fury-2
        public virtual void Restore()
        {
            RestorePaint();
            animationState         = PlaneEntity.GetAnimationState("manual");
            animationState.Loop    = false;
            animationState.Enabled = true;
            SetBladeVisibility(true);
            EffectsManager.Singleton.NoSmoke(sceneMgr, OuterNode, EffectsManager.SmokeType.LIGHTSMOKE);
            EffectsManager.Singleton.NoSmoke(sceneMgr, OuterNode, EffectsManager.SmokeType.NORMAL);
            ResetWheels();

            OuterNode.ResetOrientation();
            InnerNode.ResetOrientation();
            animationMgr.disableAll();
            animationMgr.enableBlade();
        }