EquipmentRoomAnimator
A class in Root.Township, the global namespace.
Plays the appear and disappear animations of the equipment customization room: boundary, dummy materialising, particles, ground and pedestal.
- Listed in Global namespace: E to H
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
EquipmentRoomAnimator() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
7 private and internal fields
| Member | What it is |
|---|---|
private AltaCoroutine boundaryAnimation | Running boundary coroutine. |
private float boundarySpawnAnimationLength | Seconds for the boundary animation. Defaults to 2. |
private Transform boundaryTransform | The boundary being animated, given to StartAppearAnimation. |
private RendererMaterializer dummyMaterializer | Materialises and dematerialises the dummy's renderers. |
private GameObject dummyParticles | Particle prefab spawned on appear and disappear. |
private Animator groundVisualsAnimator | Ground animator; gets the "Exit" trigger on disappear. |
private CurveScaler pedestalAnimator | Pedestal scale animator, turned on and off. |
Methods
2 private and internal methods
Used in
Members of other types that take, return or hold a EquipmentRoomAnimator: