RendererGhost
A class in Root.Township, the global namespace.
Pooled copy of a mesh renderer, given the same mesh and materials; used by ObjectVisualDouble to show a ghost of an object.
- Listed in Global namespace: Q to R
- Inherits or implements
PooledObject
Constructors
| Member | What it is |
|---|---|
RendererGhost() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
void Setup(MeshRenderer renderer) | Copies the source renderer's shared materials and mesh. |