SavePrefabAtButton
A class in Root.Township, the global namespace.
Editor helper with an inspector button to save a prefab to a path. The save method isn't in this build.
- Listed in Global namespace: S
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
SavePrefabAtButton() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
| Member | What it is |
|---|---|
string directory | Folder to save into. Read-only in the inspector. |
string fileName | File name to save as. |