Show / Hide Table of Contents

Class DualGridVoxelMeshBackupTilesEditor

Custom editor for DualGridVoxelMeshBackupTiles.

Provides the ability to generate and populate the backup model game objects.

Inheritance
System.Object
DualGridVoxelMeshBackupTilesEditor
Namespace: CarbideFunction.Wildtile.Editor
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
Type Description
DualGridVoxelMeshBackupTilesEditor.FolderPaths

GenerateMesh(Int32)

Declaration
public static Mesh GenerateMesh(int cubeConfig)
Parameters
Type Name Description
System.Int32 cubeConfig
Returns
Type Description
Mesh

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
In This Article
Generated by DocFX Version: 3.2.1 - click to show/hide other versions