Table of Contents

Method AddPrefab

Namespace
GrindFest.Editor
Assembly
GrindFest.dll

AddPrefab(FieldModification, string)

Add a prefab by asset path to a FieldModification's PrefabsList.

protected static void AddPrefab(FieldModification mod, string assetPath)

Parameters

mod FieldModification
assetPath string

AddPrefab(FieldModification, GameObject)

Add a prefab GameObject to a FieldModification's PrefabsList.

protected static void AddPrefab(FieldModification mod, GameObject prefab)

Parameters

mod FieldModification
prefab GameObject