Ejemplo n.º 1
0
        /*bool IsDirty()
         * {
         *  return _oriCellCount != _arcView.cells.Count ||
         *      _oriAxisRadius != serializedObject.FindProperty("_axisRadius").floatValue ||
         *      _oriAxisOffsetDegree != serializedObject.FindProperty("_axisOffsetDegree").floatValue ||
         *      _oriCellSpaceDegree != serializedObject.FindProperty("_cellSpaceDegree").floatValue;
         * }*/

        protected override void OnInspectorGUI()
        {
            DrawDefaultInspector();

            if (EditorApplication.isPlaying)
            {
                return;
            }

            //if (IsDirty())
            //{
            _arcView.Reset();
            //}
        }