private void Initialize(object sender) { font.LoadFont("arial"); Icon = Resources.GetIcon("new_icon"); WindowInitialization(); GameInitilaztion(); }
private void Initialize(object sender) { Icon = Resources.GetIcon("new_icon"); VSync = VSyncMode.On; font.LoadFont("opensans"); MobaUI = new GameObject() .WithName("Moba UI") .WithParent(MainScene) .AddComponent(new MobaUI(font)); }