Пример #1
0
 public virtual void Start()
 {
     MultipleLanguageManager.getInstance.Value(multiple_language_key, "CHN", defaultContent);
     //OnLanguageChange () , or fire LanguageUtility once in start
     ToolBoxModuleManager.Add(this);
     led_border  = new Vector2(led.leftAnchor.absolute, led.rightAnchor.absolute);
     originWidth = m_Panel.baseClipRegion.z;
     CloseDialog();
 }
Пример #2
0
 public virtual void OnPress(bool ispress)
 {
     if (ispress)
     {
         ToolBoxModuleManager.BringToFront(this);
         ToolBoxModuleManager.startDrag(this);
     }
     else
     {
         ToolBoxModuleManager.endDrag(this);
     }
 }
Пример #3
0
 void onCall()
 {
     call.OpenDialog();
     ToolBoxModuleManager.BringToFront(call);
     manager.SetDisable();
 }