희진Go!

Email : heejin_go@naver.com / Insta : @ggame.mag

UNITY/Unity 개념

[C#] Vector2 start_velocity = new Vector(10f, 10f);

진고 2023. 6. 29. 18:49

public Vector2 startVelocity = new Vector2(10f, 10f);

rb.velocity = startVelocity;

 

// velocity는  x축 ,y축 의 속도 지정 가능