-
Notifications
You must be signed in to change notification settings - Fork 0
FocusManager.cs
Matthew Coulter edited this page Aug 17, 2022
·
1 revision
class/ Inherits from:MonoBehaviour
This class handles updating the post processing effects module Depth of field valueSince the values are global in post processing module, having a script to control it for each game instance is necessary
Property | Description | Type |
---|---|---|
focusDistanceMax; | The maximum focus amount | float |
focusDistanceMin; | The minimum focus amount | float |
currentFocus; | The current focus amount | float |
postProcessLayer; | Reference to the post processing layer so that the focus variable can be applied | PostProcessLayer |