// Use this for initialization void Start() { if (!serverIsRunned) { Server(); serverIsRunned = true; } LoadingData data = new LoadingData(); data.AssemblyName = AssemblyName; data.Level = Level; Element.InitUi(); var c = new Canvas(new Vector2(100, 100)); var w = new Window(Sprite, "CVARC Pudge Wars", new Rect(0, 0, kMenuWidth, kMenuHeight)); var buttonOpenTutorial = new Button( () => Dispatcher.GameManager.RequestTutorial(data), SpriteButton, new Rect(50, 50, kButtonWidth, kButtonHeight), "Tutorial"); w.AddElement(buttonOpenTutorial); c.AddElement(w.Head); }