void OnDrawGizmos() { Quaternion startQ = Quaternion.Euler(start); Quaternion endQ = Quaternion.Euler(end); GizmosForQuaternion.Lerp(Vector3.zero, startQ, endQ, Mathf.Clamp(timeCount / lerpTime, 0, 1), BaseVectorDirection.right, 6f); }
void OnDrawGizmos() { Quaternion startQ = Quaternion.Euler(start); Quaternion endQ = Quaternion.Euler(end); GizmosForQuaternion.Lerp(Vector3.zero, startQ, endQ, t, BaseVectorDirection.right, 6f); }
void OnDrawGizmos() { Quaternion startQ = Quaternion.Euler(start); Quaternion endQ = Quaternion.Euler(end); if (useBuiltinDirection) { GizmosForQuaternion.Lerp(origin, startQ, endQ, builtinDirection, 6f); } else { GizmosForQuaternion.Lerp(origin, startQ, endQ, customDirectionn, 6f); } }