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

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