Property | Type | Description | |
---|---|---|---|
attachToRoot | bool | ||
placeholder | |||
prefab |
Method | Description | |
---|---|---|
Awake ( ) : void |
NOTE no virtual on purpose. override OnAwake
|
|
OnAwake ( bool notify = true ) : void |
Instance the prefab, rename and attach it
|
|
OnDrawGizmos ( ) : void |
Draw placeholder + name in editor mode.
|
|
Rename ( |
Rename logic: append counter to the name
|
public OnAwake ( bool notify = true ) : void | ||
notify | bool | true -> SendMessage: OnInstancePrefab |
return | void |
public Rename ( |
||
transform | ||
return | void |