예제 #1
0
        public override void OnInspectorGUI()
        {
            DrawDefaultInspector();
            SocketMesh myScript = (SocketMesh)target;

            // Validate Prefab Based Properties
            if (myScript.gameObject.layer != ExporterWindow.PrefabIndex)
            {
                //if (myScript.socketPrefabProperties.defaultSocketPrefab == true) {
                //    myScript.socketPrefabProperties.defaultSocketPrefab = false;
                //}
            }
        }
예제 #2
0
 public override void OnInspectorGUI()
 {
     DrawDefaultInspector();
     SocketMesh myScript = (SocketMesh)target;
 }