[Unity] GetComponent 문법 GameObject.GetComponent() // 아래의 축약형태 (Rigidbody2D)GameObject.GetComponent(typeof(Rigidbody2D) Unity 2019.09.09