示例#1
0
 public LayoutScript(string name, GameLayout layout)
     :
     base(name)
 {
     mLayout        = layout;
     mType          = mLayout.getType();
     mDelayCmdList  = new List <int>();
     mAllWindowList = new Dictionary <string, List <WindowInfo> >();
     if (mLayoutRegister == null)
     {
         mLayoutRegister = new LayoutRegister();
     }
     mLayoutRegister.onScriptChanged(this);
 }
示例#2
0
 public LayoutScript(string name, GameLayout layout)
     :
     base(name)
 {
     mLayout       = layout;
     mType         = mLayout.getType();
     mDelayCmdList = new List <int>();
     LayoutRegister.onScriptChanged(this);
 }
示例#3
0
 public override void destroy()
 {
     LayoutRegister.onScriptChanged(this, false);
     base.destroy();
 }