大きさを変化させよう

大きさを変化させる
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScaleChange : MonoBehaviour
{
// 大きさをInspector上で自由に設定できるようにする。
public Vector3 scale;
private void OnTriggerEnter(Collider other)
{
other.gameObject.transform.localScale = scale;
}
}



【2021版】BallGame(全31回)
他のコースを見る