private void Awake() { singleton = this; _myTransform = transform; _defaultPosition = cameraTransform.localPosition.z; _ignoreLayers = ~(1 << 8 | 1 << 9 | 1 << 10); }
private void Awake() { _cameraHandler = CameraHandler.singleton; }