void Awake() { A = this; }
void Start() { if (!newStartPos){ Vector3 resetPos = poi.transform.position; resetPos.z = camOffset.z; transform.position = resetPos; } //camera.backgroundColor = Color.black; ownCam = GetComponent<Camera>(); minSize = ownCam.orthographicSize; currentCamSize = minSize; Cursor.visible = false; if (poi.GetComponent<AdaptiveCameraPtS>()){ inGameFollow = poi.GetComponent<AdaptiveCameraPtS>(); } }