LuxEngine.Scene.Pause C# (CSharp) 메소드

Pause() 공개 메소드

Pause the game, then fire the Paused event.
public Pause ( Scene sender, EventArgs e ) : void
sender Scene
e System.EventArgs
리턴 void
        public void Pause(Scene sender, EventArgs e)
        {
            paused = true;
            if (Paused != null)
                Paused(sender, e);
            foreach (Scene subScene in subScenes)
                subScene.Pause(this, e);
        }