CSharpGL.Scene.Stop C# (CSharp) Method

Stop() public method

stop running scripts.
public Stop ( ) : void
return void
        public void Stop()
        {
            if (!this.running) { return; }

            if (timer != null)
            {
                timer.Enabled = false;     //是否执行System.Timers.Timer.Elapsed事件;
            }

            this.running = false;
        }