Closed shinjinhakase closed 10 hours ago
if(Input.GetKey(キーの種類))
KeyCode.Space
transform.position
v.y
Unityの謎仕様 高さだけを直接書き換えることはできない ×transform.position.y=1; x,y,zがそろっていないといけないらしい ◎transform.position=new Vector3(x座標,y座標,z座標)
transform.position.y=1;
transform.position=new Vector3(x座標,y座標,z座標)