Esempio n. 1
0
 private void Awake()
 {
     singleton       = this;
     myTransform     = this.transform;
     defaultPosition = cameraTransform.localPosition.z;
     ignoreLayers    = ~(1 << 8 | 1 << 9 | 1 << 10);
 }
 private void Awake()
 {
     singleton       = this;
     myTransform     = transform;
     defaultPosition = cameraTransform.localPosition.z;
     ignorelayers    = ~(1 << 8 | 1 << 9 | 1 << 10);
     targetTransform = FindObjectOfType <PlayerManager>().transform;
 }
Esempio n. 3
0
 private void Awake()
 {
     cameraHandler = CameraHandler.singleton;
 }
Esempio n. 4
0
 private void Awake()
 {
     cameraHandler = FindObjectOfType <CameraHandler>();
 }