메소드 | 설명 | |
---|---|---|
AngleBetweenTwoVectors ( Vector2 a, Vector2 b ) : float | ||
AngleToVector2 ( float angle, float length ) : Vector2 | ||
NextVector2 ( Vector2 min, Vector2 max ) : Vector2 | ||
SmoothStep ( Vector2 value1, Vector2 value2, float amount ) : Vector2 | ||
Vector2ToAngle ( Vector2 direction ) : float |
public static AngleBetweenTwoVectors ( Vector2 a, Vector2 b ) : float | ||
a | Vector2 | |
b | Vector2 | |
리턴 | float |
public static AngleToVector2 ( float angle, float length ) : Vector2 | ||
angle | float | |
length | float | |
리턴 | Vector2 |
public static NextVector2 ( Vector2 min, Vector2 max ) : Vector2 | ||
min | Vector2 | |
max | Vector2 | |
리턴 | Vector2 |
public static SmoothStep ( Vector2 value1, Vector2 value2, float amount ) : Vector2 | ||
value1 | Vector2 | |
value2 | Vector2 | |
amount | float | |
리턴 | Vector2 |
public static Vector2ToAngle ( Vector2 direction ) : float | ||
direction | Vector2 | |
리턴 | float |