[serializefield]
GameObject gunspawn;
Vector3 thedirection = Some Value;
gunspawn.transform.forword = thedirection.normalized;
Quaternion therotation = gunspawn.transform.rotation;
I need this value(therotation) without using a gameobject ?
how can I get the rotation of gunspawn?