Esempio n. 1
0
        void InitWindow()
        {
            string dependencyError = ProjectSettings.CheckDependentFiles();

            if (!string.IsNullOrEmpty(dependencyError))
            {
                ShowNotification(new GUIContent(dependencyError));
                return;
            }

            wantsMouseMove = true;              // for dragging edges

            internalAPI = new RIInternal(ExecOnUpdate, ShowNotification, this);
            api1impl    = new APIv1Implementation(internalAPI);
            api2impl    = new APIv2Implementation(internalAPI);
            internalAPI.Init();

            initialized = true;
            Repaint();
        }
 internal APIv1Implementation(RIInternal internalAPI)
 {
     this.internalAPI = internalAPI;
 }