Beispiel #1
0
        protected override void onBeforeAssignNewGenerator(MeshGenerator newGenerator)
        {
            //AssetDatabase.GetAssetPath(serializedObject);

            //AssetDatabase.CreateFolder()
        }
Beispiel #2
0
 /// <summary>
 /// Called just before the MeshGenEditorBase has set the objectReferenceValue of the
 /// property identified by getMeshGeneratorPropertyName with a reference to the
 /// argument MeshGenerator provided by this function.
 ///
 /// If the implementer is storing the MeshGenerator inside an Asset (ScriptableObject,
 /// as in MeshGeneratorAsset), the provided MeshGenerator should be saved in the
 /// asset database using this method.
 /// </summary>
 protected abstract void onBeforeAssignNewGenerator(MeshGenerator newGenerator);