Skip to content

CorundumGames/CorundumGames.Codegen.Redux

Repository files navigation

CorundumGames.Codegen.Redux

Nuget openupm

A set of Genesis plugins that I think are useful for a wide variety of projects that use C#, Unity, and Entitas Redux.

How to Use

These plugins are intended to be used directly by the Genesis code generator. They are not intended to be used as a dependency for your own plugins, nor are they intended for use within the Unity editor.

Installation

This section describes the ways in which you can add these plugins to your project.

Via OpenUPM

Install the package games.corundum.codegen.redux from OpenUPM through the instructions described here.

Configuration

Settings for this repo's plugins are prefixed with CorundumGames.Codegen.Redux.Plugins unless otherwise noted.

If you don't need a particular plugin within the provided assembly, simply don't include it in your configuration.

Your next steps then depend on how you manage your project's Genesis configuration. Each plugin's respective README.md file lists configuration guidance. The following sections describe configuration that is common to all included plugins.

Via .properties Files

If you configure Genesis with .properties files (similar to Jenny), you can use these plugins by modifying the following properties.

# Add the name of the assembly somewhere in the comma-separated list (line continuations are OK)
Genesis.Plugins = ... \
  CorundumGames.Codegen.Redux.Plugins, \
  ...

Via the Editor

TODO

Plugins

This repo includes the following plugins, each of which has a README.md file in its source directory:

Building

This project can be built and used on Windows, macOS, and Linux. Install the latest version of .NET and build it on the command-line as follows:W

# Change directory to the cloned repo...
cd CorundumGames.Codegen.Redux

# Install all dependencies...
dotnet restore
dotnet tool restore

# ...then build and package the libraries.
dotnet build

If you have act installed, you can run the GitHub Actions workflow locally by running the act command within the repo's root.

Versioning

Due to a mistake I made in writing the build pipeline, the 1.x series should not be considered stable. I didn't want to pull down a live version, so I just rolled with it. Version 2.x will be considered the first stable release.

Contributing

This repository is primarily written for my own needs, but I'm happy to receive bug reports or pull requests.

License

All files in this repository are released under the MIT license, unless otherwise noted.

You own the output of each plugin, I make no ownership claims to it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages