static private HorizontalAngle ( Vector3 direction ) : float | ||
direction | Vector3 | |
리턴 | float |
public void Init() { velocity.y = 0; speed = velocity.magnitude; angle = PlayerAnimation.HorizontalAngle(velocity); }
public override void Init() { this.velocity.y = 0; this.speed = this.velocity.magnitude; this.angle = PlayerAnimation.HorizontalAngle(this.velocity); }