예제 #1
0
 public virtual void OnShutdown(ShutdownContext context)
 {
     if (context == ShutdownContext.Deactivate)
     {
         CmdOverlay.RemoveCommands(this);
     }
 }
예제 #2
0
        protected override void InitPlugin()
        {
            base.InitPlugin();

            cmdOverlay = new CmdOverlay();
            netManager = new NetworkManager();
        }
예제 #3
0
 public virtual void OnInit(InitContext context)
 {
     if (context == InitContext.Activate)
     {
         CmdOverlay.AddCommands(this);
     }
 }
예제 #4
0
 public NetworkManager()
 {
     // locate all moving objects in scene
     CmdOverlay.AddCommands(this);
 }