Skip to content

Commit

Permalink
Merge pull request #6 from Kerozard/main
Browse files Browse the repository at this point in the history
fix: C# access to ResourceGroup properties through wrapper
  • Loading branch information
derkork authored Jul 19, 2024
2 parents d55068a + 6ef183d commit cf34bc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/godot_resource_groups/csharp/ResourceGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ public static ResourceGroup Of(Resource wrapped)
/// <summary>
/// Returns all include patterns in this resource group.
/// </summary>
public List<string> Includes => new(_wrapped.Call("get_includes").AsStringArray());
public List<string> Includes => new(_wrapped.Get("includes").AsStringArray());

/// <summary>
/// Returns all exclude patterns in this resource group.
/// </summary>
public List<string> Excludes => new(_wrapped.Call("get_excludes").AsStringArray());
public List<string> Excludes => new(_wrapped.Get("excludes").AsStringArray());

/// <summary>
/// Returns all paths in this resource group.
/// </summary>
public List<string> Paths => new(_wrapped.Call("get_paths").AsStringArray());
public List<string> Paths => new(_wrapped.Get("paths").AsStringArray());

/// <summary>
/// Loads all resources in this resource group.
Expand Down

0 comments on commit cf34bc9

Please sign in to comment.