PlayerModelHider
Class in Zigurous.CameraSystem
Declaration
public sealed class PlayerModelHider : MonoBehaviour
Description
Hides the player model based on the camera zoom distance. This is intended for games that are both 1st and 3rd person.
Properties
playerModel | The player model to show/hide. |
zoomThreshold | The zoom percent below which the player model will be hidden. |
distanceThreshold | The distance from the camera to the player below which the player model will be hidden. |