void Start() { lightCam = GetComponent <Camera>(); if (!lightCam) { Debug.LogError("This script is not attached to a camera."); return; } lightCam.nearClipPlane = 0.999f; lightCam.farClipPlane = 101f; if (ctm == null) { ctm = TransformManager.Instance; } if (follower == null) { ctm.GetTransform(followerName, (transform) => { follower = transform; }); } }