回答編集履歴
1
文面を修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
お二人からご回答のあったように、お気になさ
|
1
|
+
お二人からご回答のあったように、お気になさる必要はないかと思います。Vector3の生成に関して、[マニュアル](https://docs.unity3d.com/Manual/UnderstandingAutomaticMemoryManagement.html)によると
|
2
2
|
|
3
3
|
> Types that are stored directly and copied during parameter passing are called value types. These include integers, floats, booleans and Unity’s struct types (eg, **Color** and **Vector3**). Types that are allocated on the heap and then accessed via a pointer are called reference types, since the value stored in the variable merely “refers” to the real data. Examples of reference types include objects, strings and arrays.
|
4
4
|
|