add some comments and commented out HG_Basic
This commit is contained in:
2
.github/workflows/auto_release.yaml
vendored
2
.github/workflows/auto_release.yaml
vendored
@@ -76,6 +76,6 @@ jobs:
|
||||
if: needs.auto_release.outputs.should_release == 'true'
|
||||
secrets:
|
||||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
|
||||
GH_BASIC: ${{ secrets.GH_BASIC }}
|
||||
# GH_BASIC: ${{ secrets.GH_BASIC }}
|
||||
with:
|
||||
bump: patch
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
namespace GodotHelpers.Raycasts;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
using SJK.Functional;
|
||||
|
||||
namespace GodotHelpers.Raycasts;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Extensions for <see cref="PhysicsDirectSpaceState3D"/>.
|
||||
/// Allows for an static way of casting an godot Raycast3D.
|
||||
/// </summary>
|
||||
public static class RaycastExtensions
|
||||
{
|
||||
// --- 3D ---
|
||||
@@ -45,6 +47,10 @@ public static class RaycastExtensions
|
||||
|
||||
// --- 2D ---
|
||||
|
||||
/// <summary>
|
||||
/// Extensions for <see cref="PhysicsDirectSpaceState2D"/>.
|
||||
/// Allows for an static way of casting an godot Raycast3D.
|
||||
/// </summary>
|
||||
public static RaycastResult2D? RaycastEx(this PhysicsDirectSpaceState2D space, Vector2 from, Vector2 to, uint collisionMask = uint.MaxValue, Rid[]? exclude = null, bool hitFromInside = false)
|
||||
{
|
||||
var query = new PhysicsRayQueryParameters2D
|
||||
|
||||
Reference in New Issue
Block a user