This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Editor Dotnet Module Crash when performing ALC reload (DotNet b…
…uild)
- Loading branch information
Showing
17 changed files
with
349 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<Project Sdk="Godot.NET.Sdk/4.1.1"> | ||
<Project Sdk="Godot.NET.Sdk/4.1.2"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<EnableDynamicLoading>true</EnableDynamicLoading> | ||
<RootNamespace>GDAtlasTextureCreator</RootNamespace> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Remove="Build\**" /> | ||
<Compile Remove="ReleaseBuild\**" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Remove="Build\**" /> | ||
<EmbeddedResource Remove="ReleaseBuild\**" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...s/deyu_atlas_texture_creator_window/UnityAtlasTextureCreator.Private.CallRegisteration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Diagnostics.CodeAnalysis; | ||
using Godot; | ||
using Range = Godot.Range; | ||
|
||
namespace DEYU.GDUtilities.UnityAtlasTextureCreatorUtility; | ||
|
||
public partial class UnityAtlasTextureCreator | ||
{ | ||
private static void RegLineEdit([NotNull] LineEdit control, LineEdit.TextChangedEventHandler call) => control.TextChanged += call; | ||
|
||
private static void RegRangeValueChanged([NotNull] Range control, Range.ValueChangedEventHandler call) => control.ValueChanged += call; | ||
|
||
private static void RegButtonPressed([NotNull] BaseButton control, Action call) => control.Pressed += call; | ||
|
||
private static void RegButtonToggled([NotNull] BaseButton control, BaseButton.ToggledEventHandler call) => control.Toggled += call; | ||
|
||
private static void RegOptionButtonItemSelected([NotNull] OptionButton control, OptionButton.ItemSelectedEventHandler call) => control.ItemSelected += call; | ||
|
||
private static void RegResourceChanged([NotNull] Resource resource, Action call) => resource.Changed += call; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.