<aside>
📌 목차
</aside>
1. Call by Value


2. Call by Reference


⭐⭐⭐ Struct는 Call by Value ⭐⭐⭐
<aside>
📌 Unity 대표 Struct
- struct Vector2
- struct Vector3
- struct Color
- Vector2 GameObject.transform.position
</aside>

-
Method1

-
Method2

3. Value Type을 Call by Reference로 호출
-
방법 1. return

-
방법 2. ref

-
방법 3. out

4. 값을 여러 개 return할 경우 ⇒ Class로 전달
