ScreenShotExtension
A class in Root.Township, the global namespace.
Controller extension that takes a screenshot when the take screenshot action starts. Client only.
- Listed in Global namespace: S
- Inherits or implements
ControllerExtension
Constructors
| Member | What it is |
|---|---|
ScreenShotExtension() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
2 private and internal methods
| Member | What it is |
|---|---|
private void Start() | Disables its update and hooks the TakeScreenShot controller action. |
private void TakeScreenShot(PlayerInput playerInput) | Calls ScreenshotTaker.TakeScreenShot. |