protected override void OnEnable() { base.OnEnable(); Window = this; }
public static void Init() { Window = GetWindow <DialogNodeWindow>("Dialog", typeof(CombatNodeWindow), typeof(DialogNodeWindow), typeof(WorldMapNodeWindow), typeof(AchievementNodeWindow), typeof(EventNodeWindow)); Window.minSize = new Vector2(1100.0F, 450.0F); }