浏览代码

fixed vcam lerp on loading new location

/UI
vjs22334 4 年前
当前提交
7b32be0f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      UOP1_Project/Assets/Scripts/CameraManager.cs

2
UOP1_Project/Assets/Scripts/CameraManager.cs


{
freeLookVCam.Follow = target;
freeLookVCam.LookAt = target;
freeLookVCam.OnTargetObjectWarped(target,target.position-freeLookVCam.transform.position);
}
private void OnEnable()

private void OnFrameObjectEvent(Transform value)
{
Debug.Log("distance of player from camera:" + Vector3.Distance(freeLookVCam.transform.position,value.position));
SetupProtagonistVirtualCamera(value);
}
}
正在加载...
取消
保存