Exemplo n.º 1
0
 public Scrollview(EditorWindow ewin, Rect rc, BaseControl parent, Rect view) : base(ewin, rc, parent)
 {
     this.viewRect   = view;
     this._textureBg = AssetDatabase.LoadAssetAtPath("Assets/Editor/BTEditor/Assets/svbg.png", typeof(Texture)) as Texture;
 }
Exemplo n.º 2
0
 public override void Initialize(EditorWindow ewin, Rect rc, BaseControl parent = null)
 {
     base.Initialize(ewin, rc, parent);
     this.nodeCategory = "randomselector";
     this.nodeName     = "随机节点";
 }
Exemplo n.º 3
0
 public RandomSelectorNode(EditorWindow ewin, Rect rc, BaseControl parent = null)
     : base(ewin, rc, parent)
 {
 }
Exemplo n.º 4
0
 public Textfield(string text, EditorWindow ewin, Rect rc, BaseControl parent)
     : base(ewin, rc, parent)
 {
     this.text = text;
 }