Table of Contents

Method GetPrototypeRootName

Namespace
Pinwheel.Griffin
Assembly
Pinwheel.Polaris.Runtime.dll

GetPrototypeRootName(GameObject)

Get the root game object name for spawning a prefab into, use this to keep the hierarchy clean.

public static string GetPrototypeRootName(GameObject prototype)

Parameters

prototype GameObject

The prefab.

Returns

string

Root game object name.