Ejemplo n.º 1
0
 public void ChangeKey(string key)
 {
     _key = key;
     if (_keyL != null)
     {
         _keyL.Clear();
         PEIMEN_Entity.L.RemoveL(_l);
         _l.RemoveElement(Update);
         Init();
     }
     else
     {
         PEIKDE.LogError("Secret", "Change Key Error");
     }
 }
Ejemplo n.º 2
0
 public void EntrustPause()
 {
     if (!_entityFlag)
     {
         PEIKDE.LogError("Timer", "PEIMEN_Entity Not Init But You Try To Use It !");
         return;
     }
     if (_l != null)
     {
         if (_loomFlag)
         {
             if (_l.HasElement(TimerUpdateLoom))
             {
                 _l.RemoveElement(TimerUpdateLoom);
             }
             else
             if (_l.HasElement(TimerUpdate))
             {
                 _l.RemoveElement(TimerUpdate);
             }
         }
     }
     else
     {
         PEIKDE.LogError("Timer", "Timer Not Set L Init But You Try To Pause It !");
     }
 }
Ejemplo n.º 3
0
 public override void OnClose()
 {
     PEIMEN_Entity.L.RemoveL(_l);
     _l.RemoveElement(Update);
     PEIMEN_Entity.MonoTool.RemoveOnGUIAction(OnGUI);
 }