Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
void LateUpdate(){
// カメラの拡大率に応じたオフセットを取得
Vector3 magnifiedOffset = GetMagnifiedOffset();
if (isTracing){
// 『Sphere』オブジェクトとオフセットからカメラの現在位置を計算
gameObject.transform.position = player.transform.position + magnifiedOffset;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.