AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Addressing Bug #753: Prevent FarZ-Property of the camera component to be 0. #757

Closed childsluke closed 4 years ago

childsluke commented 4 years ago

Adjusted allowed Editor ranges for FarZ (and NearZ) in Camera.cs to match reasonableMin. Editor now does not allow values to be set below this.