
밥쏘기에서 밥의 속도가 너무 빨리 나가서 예시영상처럼 이쁘게 나가는 느낌이 아니에요.
코드 똑같이 쓴 것 같은데 왜이럴까요? ㅠ.ㅠ
----
이제보니까 푸드뿐만이 아니라 고양이 내려오는 속도도 훨씬 빠르게 내려오는 것 같습니다.

using UnityEngine;
public class gameManager : MonoBehaviour
{
public GameObject dog;
public GameObject food;
// Start is called before the first frame update
void Start()
{
InvokeRepeating("makeFood",0.0f,0.2f);
}
// Update is called once per frame
void Update()
{
}
void makeFood()
{
float x = dog.transform.position.x;
float y = dog.transform.position.y + 2.0f;
Instantiate(food, new Vector3(x, y, 0),Quaternion.identity);
Instantiate(food);
}
}
