A class in Root.Township, Alta.Customization.
Loads a preset when a preset trophy is released into its trigger, applying the saved look to a customization handler. Customization room, client side.
Constructors
| Member | What it is |
|---|
CosmeticPresetApplier() | 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 ApplyTrophy(CosmeticPresetTrophy trophy) | Loads the trophy's saved cosmetics onto the handler's manager, then sends the trophy back. |
1 private and internal method
| Member | What it is |
|---|
private void Awake() | Subscribes ApplyTrophy to the trigger's ReleasedTrophy event. |