コード例 #1
0
        // This function is called when the object is loaded.
        protected void OnEnable()
        {
            modularSystem = (ModularSystem)target;

            // setup the listener for play state change

            EditorApplication.playModeStateChanged += OnPlayModeChange;

            UpdatePartList();
        }
コード例 #2
0
        // This function is called when the object is loaded.
        protected void OnEnable()
        {
            modularSystem = (ModularSystem)target;

            UpdatePartList();
        }