localPosition은 현재 객체의 부모 기준 위치를 나타냄transform.position은 월드 좌표(World Position) 기준 위치를 의미로컬 좌표는 부모 오브젝트를 0,0,0 기준월드 좌표는 월드 좌표에서의 0,0,0 좌표가 기준 public class Obstacle : MonoBehaviour { public float highPosY = 1f; public float lowPosY = -1f; public float holeSizeMin = 1f; public float holeSizeMax = 3f; public Transform topObject; public Transform bott..