top of page

TOSHICHAN
Unityでスクリプト&簡単な実装サイト
if (Input.GetKey ("x")) {
transform.localScale += new Vector3(1, 0, 0);
}
if (Input.GetKey ("y")) {
transform.localScale += new Vector3(0, 1, 0);
}
if (Input.GetKey ("z")) {
transform.localScale += new Vector3(0, 0, 1);
}
オブジェクトのサイズ変更
bottom of page