bool turning = false;//镜头转向中 public void SetFace(FaceCode f) { if (face != f) { turning = true; } face = f; FaceTurn(); }
void Init() { Instance = this; face = FaceCode.Right;//开始是向右看 FaceTurn(); transform.position = new Vector3(Location_Start.x, Location_Start.y, transform.position.z);//初始化镜头位置 lastCameraPoint = Location_Start; focusTransform = BindingPlayer;//开始聚焦点是主角 }