Skip to content

Commit ad9da1f

Browse files
committed
Expose LoadLevel with raw level
1 parent ef81f88 commit ad9da1f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

LDtk/JsonPartials/LDtkWorld.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public LDtkLevel LoadLevel(int index)
9595
throw new LDtkException($"No level with index {index} found in this world");
9696
}
9797

98-
LDtkLevel LoadLevel(LDtkLevel rawLevel)
98+
/// <summary> Get the level with an index. </summary>
99+
public LDtkLevel LoadLevel(LDtkLevel rawLevel)
99100
{
100101
if (rawLevel.ExternalRelPath == null)
101102
{

LDtk/LDtk.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
<PackageReadmeFile>readme.md</PackageReadmeFile>
3030

3131
<PackageOutputDir>../Nuget/</PackageOutputDir>
32-
<IncludeSymbols>true</IncludeSymbols>
33-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
3432
</PropertyGroup>
3533

3634
<ItemGroup>

0 commit comments

Comments
 (0)