/// Shutdowns the application controller. public static void Shutdown() { // Shutdown all subsystems. PackageController.Shutdown(); HelpController.Shutdown(); SceneController.Shutdown(); iCS_EditorController.Shutdown(); iCS_VisualScriptDataController.Shutdown(); LibraryController.Shutdown(); GizmoController.Shutdown(); SoftwareUpdateController.Shutdown(); LicenseController.Shutdown(); EditionController.Shutdown(); BlinkController.Shutdown(); TimerService.Shutdown(); SystemEvents.Shutdown(); ErrorController.Shutdown(); }
// ====================================================================== // Initialization all sub-systems // ---------------------------------------------------------------------- static AppController() { // var diff= new Diff(); // diff= null; // Start all sub-systems. ErrorController.Start(); SystemEvents.Start(); TimerService.Start(); BlinkController.Start(); EditionController.Start(); LicenseController.Start(); SoftwareUpdateController.Start(); GizmoController.Start(); LibraryController.Start(); iCS_VisualScriptDataController.Start(); iCS_EditorController.Start(); SceneController.Start(); HelpController.Start(); PackageController.Start(); }
// ====================================================================== // The following are helper functions to register Unity3D message handlers // ---------------------------------------------------------------------- // Use this function to register a Unity message on the // MonoBehaviour class. // // This function can be called by the iCanScript user to add to the // existing Unity library. // static void InstallMonoBehaviourMessage(string messageName, Type[] parameterTypes, string[] parameterNames) { var declaringType = typeof(MonoBehaviour); LibraryController.AddEventHandler(messageName, declaringType, parameterTypes, parameterNames); }