// OnScriptLoad is a method that gets invoked by // the Kingdoms and Castles app some frames after the main // scene is loaded. public void OnScriptLoad(KCModHelper _helper) { UserInterface = new UserInterface(_helper); UserInterface.Instantiate(); }