public void Init(Character chara, Transform tsfPointsRoot, Transform tsf2D, Transform tsf3D) { viewSwitcher = GetComponent <BackupCameraProjectionChange>(); cameraSelf = GetComponent <Camera>(); Character = chara; tsfPosPoint = tsfPointsRoot; tsf2DPos = tsf2D; tsf3DPos = tsf3D; _currentIs2D = cameraSelf.orthographic; bInited = true; }
void Awake() { viewSwitcher = GetComponent <BackupCameraProjectionChange>(); cameraSelf = GetComponent <Camera>(); }