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