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; //} } }
public override void OnInspectorGUI() { DrawDefaultInspector(); SocketMesh myScript = (SocketMesh)target; }