InteractableLastPlayerInteractorHandler
A class in Root.Township, the global namespace.
Keeps an interactable's LastPlayerInteractor when its entity is replaced by another, by copying it to the new entity's interactable.
Constructors
| Member | What it is |
|---|
InteractableLastPlayerInteractorHandler() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private Interactable interactable | The interactable whose last player is carried over. |
Methods
1 private and internal method
| Member | What it is |
|---|
private void Alta.Networking.IEntityReplaceHandler.ReplacedWith(NetworkEntity entity, ReplaceAvoidFlags replaceFlags) | Copies LastPlayerInteractor to the same component on the replacing entity. |