Update SJKScripts
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="GodotSharp" Version="4.6.2" />
|
<PackageReference Include="GodotSharp" Version="4.6.2" />
|
||||||
<PackageReference Include="SjkScripts" Version="1.0.17" />
|
<PackageReference Include="SjkScripts" Version="1.0.19" />
|
||||||
<!-- [1.2.3,2.3.4] use range of versions -->
|
<!-- [1.2.3,2.3.4] use range of versions -->
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ namespace GodotHelpers;
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Godot;
|
using Godot;
|
||||||
|
using SJK.Functional;
|
||||||
|
|
||||||
public static class MyNodeExtensions
|
public static class MyNodeExtensions
|
||||||
{
|
{
|
||||||
@@ -41,6 +41,7 @@ public static class MyNodeExtensions
|
|||||||
var result = self.GetNodeAndResource(path);
|
var result = self.GetNodeAndResource(path);
|
||||||
return ((Node)(GodotObject)result[0], (Resource)(GodotObject)result[1], (NodePath)result[2]);
|
return ((Node)(GodotObject)result[0], (Resource)(GodotObject)result[1], (NodePath)result[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void QueueFreeChildren(this Node node) => node.GetChildren().ToList().ForEach(item => item.QueueFree());
|
public static void QueueFreeChildren(this Node node) => node.GetChildren().ToList().ForEach(item => item.QueueFree());
|
||||||
public static void QueueFreeChildren(this Node node, Func<Node, bool> predicate) => node.GetChildren().Where(predicate).ToList().ForEach(item => item.QueueFree());
|
public static void QueueFreeChildren(this Node node, Func<Node, bool> predicate) => node.GetChildren().Where(predicate).ToList().ForEach(item => item.QueueFree());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,13 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<packageSources>
|
<packageSources>
|
||||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||||
<add key="gitea" value="http://192.168.1.4:3000/api/packages/Ronnie/nuget/index.json" allowInsecureConnections="True" />
|
<!-- <add key="coverlet" value="https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json" /> -->
|
||||||
|
<!-- <add key="gitea" value="http://gitea.superjrking.com/api/packages/Ronnie/nuget/index.json" allowInsecureConnections="True" /> -->
|
||||||
</packageSources>
|
</packageSources>
|
||||||
<packageSourceCredentials>
|
<!-- <packageSourceCredentials>
|
||||||
<gitea>
|
<gitea>
|
||||||
<add key="Username" value="Ronnie" />
|
<add key="Username" value="Ronnie" />
|
||||||
<add key="ClearTextPassword" value="e59e39d60f30b539ae594d8cfc7a9771883d2eb0" />
|
<add key="ClearTextPassword" value="e59e39d60f30b539ae594d8cfc7a9771883d2eb0" />
|
||||||
</gitea>
|
</gitea>
|
||||||
</packageSourceCredentials>
|
</packageSourceCredentials> -->
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
Reference in New Issue
Block a user