コード例 #1
0
 /// 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();
 }
コード例 #2
0
        // ======================================================================
        // 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();
        }
コード例 #3
0
        // ======================================================================
        // 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);
        }