GodotLayersSourceGenerator 1.1.1
dotnet add package GodotLayersSourceGenerator --version 1.1.1
NuGet\Install-Package GodotLayersSourceGenerator -Version 1.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GodotLayersSourceGenerator" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GodotLayersSourceGenerator --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GodotLayersSourceGenerator, 1.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GodotLayersSourceGenerator as a Cake Addin
#addin nuget:?package=GodotLayersSourceGenerator&version=1.1.1
// Install GodotLayersSourceGenerator as a Cake Tool
#tool nuget:?package=GodotLayersSourceGenerator&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
GodotLayersSourceGenerator
Source generator that will emit Godot layer names as constant values for use in masks using a Source Generator.
Will generate code so you can grab these layers statically and typed using C# code.
using Godot;
var myMask1 = LayerNames.Render2D.ImLayer1Mask;
var myMask2 = LayerNames.Render2D.ImLayer2Mask;
Installation
- Grab the Source Generator from nuget.
- Add the project.godot as an additional file to your .csproj project file. Like this snippet:
<ItemGroup>
<AdditionalFiles Include="project.godot" />
</ItemGroup>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.