示例#1
0
 bool turning = false;//镜头转向中
 public void SetFace(FaceCode f)
 {
     if (face != f)
     {
         turning = true;
     }
     face = f;
     
     FaceTurn();
 }
示例#2
0
    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;//开始聚焦点是主角
    }