All Classes Namespaces Functions Variables Enumerations Properties Pages
static Vector3 GetAxisVectorToDirection ( Transform  t,
Vector3  direction 
)
static

Returns the local axis of the Transform that aligns the most with a direction.