// Start is called before the first frame update void Start() { //State state = State.WaitingMoveLeft; camState = CamState.Front; //VectorsAndRotations CamOriginRot = Quaternion.Euler(12f, 0f, 0f); DropItemCamRot = Quaternion.Euler(12f, 0f, 0f); LeftCameraRot = Quaternion.Euler(12f, 90f, 0f); RightCameraRot = Quaternion.Euler(12f, -90f, 0f); //CameraPosition cam.transform.position = CamOriginVec; cam.transform.rotation = CamOriginRot; prizesController = GetComponent <PrizesController>(); MoveUIsActive(); }
// Start is called before the first frame update void Start() { gameManager = GameObject.Find("GameManager").GetComponent <GameManager>(); prizesController = GameObject.Find("GameManager").GetComponent <PrizesController>(); }