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