identity1 [Unity] Quaternion.identity의 의미 - InvokeRepeating, Instantiate, Quaternion.identity; Instantiate로 프리팹을 반복생성하고자 할 때 세 번째 인자 Quaternion.identity의 의미를 알아봅시다.using System.Collections;using System.Collections.Generic;using UnityEngine;public class Dog : MonoBehaviour{ public GameObject food; void Start() { InvokeRepeating("MakeFood", 0f, 0.5f); // 강아지의 Food 반복 생성해주기 } // 강아지의 Food 생성 void MakeFood() { float x = transform.position.x; float y =.. 스파르타 게임개발종합반(Unity)/사전캠프 공부 기록 2024. 4. 3. 이전 1 다음 반응형