Class DualGridVoxelMeshBackupTilesEditor
Inheritance
System.Object
DualGridVoxelMeshBackupTilesEditor
Syntax
public class DualGridVoxelMeshBackupTilesEditor : UnityEditor.Editor
Methods
ConstructMeshAssetPath(String, Int32)
Declaration
public static string ConstructMeshAssetPath(string folderPath, int cubeConfig)
Parameters
Type |
Name |
Description |
System.String |
folderPath |
|
System.Int32 |
cubeConfig |
|
Returns
Type |
Description |
System.String |
|
ConstructPrefabAssetPath(String, Int32)
Declaration
public static string ConstructPrefabAssetPath(string folderPath, int cubeConfig)
Parameters
Type |
Name |
Description |
System.String |
folderPath |
|
System.Int32 |
cubeConfig |
|
Returns
Type |
Description |
System.String |
|
EnsurePrefabFoldersExist(UnityEngine.Object)
Declaration
public static DualGridVoxelMeshBackupTilesEditor.FolderPaths EnsurePrefabFoldersExist(UnityEngine.Object target)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
target |
|
Returns
GenerateMesh(Int32)
Declaration
public static Mesh GenerateMesh(int cubeConfig)
Parameters
Type |
Name |
Description |
System.Int32 |
cubeConfig |
|
Returns
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
StorePrefabInSerializedPropertyArray(SerializedProperty, Int32, GameObject)
Declaration
public static void StorePrefabInSerializedPropertyArray(SerializedProperty destinationArray, int arrayIndex, GameObject prefab)
Parameters
Type |
Name |
Description |
SerializedProperty |
destinationArray |
|
System.Int32 |
arrayIndex |
|
GameObject |
prefab |
|