示例#1
0
 internal static extern IntPtr csi_Atomic_PhysicsWorld2D_RaycastSingle(IntPtr self, ref Vector2 origin, ref Vector2 direction, uint collisionMask, out PhysicsRaycastResult2D result);
示例#2
0
 public void RaycastSingle(ref PhysicsRaycastResult2D result, Vector2 startPoint, Vector2 endPoint, uint collisionMask = uint.MaxValue)
 {
     csi_Atomic_PhysicsWorld2D_RaycastSingle(nativeInstance, ref startPoint, ref endPoint, collisionMask, out result);
 }