A class in Root.Township, Alta.Heat.
A RaycastCrafter that copies a fire's state onto what it crafts, so a lit item stays lit when it becomes the new object.
Constructors
| Member | What it is |
|---|
FireStatusRaycastCrafter() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private Fire baseFire | The fire whose state is copied. |
Methods
| Member | What it is |
|---|
protected override void OnSpawn(NetworkEntity spawned) | Copies baseFire's progress and enabled state to the first Fire found on the spawned entity. |