private void Awake() { Instance = this; m_CameraTransformReference = cameraReference.transform; m_IsOrthographicCamera = cameraReference.orthographic; EnableAndDisableThisMonoBehaviour(false); }
private void OnEnable() { Reference = (FaithCameraController)target; if (Reference != null) { cameraReference = serializedObject.FindProperty("cameraReference"); cameraContainerTransformReference = serializedObject.FindProperty("cameraContainerTransformReference"); } }