maxCamerasDepth property
Maximum number of nested cameras that will be rendered.
This variable helps prevent infinite recursion when a camera is set to look at the world that contains that camera.
Implementation
static int maxCamerasDepth = 4;
Maximum number of nested cameras that will be rendered.
This variable helps prevent infinite recursion when a camera is set to look at the world that contains that camera.
static int maxCamerasDepth = 4;