コード例 #1
0
ファイル: Scrollview.cs プロジェクト: swordlegend/army_ru
 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;
 }
コード例 #2
0
 public override void Initialize(EditorWindow ewin, Rect rc, BaseControl parent = null)
 {
     base.Initialize(ewin, rc, parent);
     this.nodeCategory = "randomselector";
     this.nodeName     = "随机节点";
 }
コード例 #3
0
 public RandomSelectorNode(EditorWindow ewin, Rect rc, BaseControl parent = null)
     : base(ewin, rc, parent)
 {
 }
コード例 #4
0
 public Textfield(string text, EditorWindow ewin, Rect rc, BaseControl parent)
     : base(ewin, rc, parent)
 {
     this.text = text;
 }