Exemplo n.º 1
0
        public static void DrawIntersectionPoint(Vector3 position)
        {
            var rotation = Quaternion.LookRotation(Camera.current.transform.forward);
            var size     = UnityEditor.HandleUtility.GetHandleSize(position) * 0.05f;

            SceneHandles.DotHandleCap(-1, position, rotation, size, Event.current.type);
        }