public void Spawn(EnvironmentCube cube) { gameObject.SetActive(true); transform.position = cube.GetCoordinates().GetWorldPosition(); Camera.main.transform.position = new Vector3(transform.position.x, Camera.main.transform.position.y, transform.position.z); _currentCube = cube; _canMove = true; _health = MAX_HEALTH; CameraOperator.SetFocusObject(transform); CameraOperator.SnapToFocus(); CameraOperator.FollowFocusObject(); }