void DrawAnchor(Vector2 destAnchorPos, float angle, Texture2D texAnchor)
{
Color savedColor = GUI.color;
Matrix4x4 savedMatrix = GUI.matrix;
Vector2 arrowPivot = new Vector2 (destAnchorPos.x, destAnchorPos.y);
Vector2 arrowPoint = new Vector2 (destAnchorPos.x, destAnchorPos.y);
arrowPoint.x -= 16;
arrowPoint.y -= 8;
GUI.matrix = Matrix4x4.TRS (arrowPoint, Quaternion.identity, Vector3.one);
GUIUtility.RotateAroundPivot (angle, arrowPivot);
GUI.DrawTexture (new Rect (0, 0, 16, 16), texAnchor);
GUI.matrix = savedMatrix;
GUI.color = savedColor;
}