/anvil-unity-core

Unity specific additions and extensions to Anvil

Primary LanguageC#MIT LicenseMIT

License   

anvil-unity-core

An opinionated collection of systems and utilities that add Unity specific implementations of Anvil systems and add new common tools and systems that are uniquely useful to Unity development.

Refer to the anvil-csharp-core for a description of Anvil's purpose and the team's motivations.

Expectations

See: anvil-csharp-core

The code is reasonably clean but documentation and examples are sparse. Feel free to reach out on Twitter or open issues with questions.

⚠️ We welcome PRs and bug reports but making this repo a public success is not our priority. No promises on when it will be addressed!

Dependencies

Features

Project Setup

  1. Add anvil-unity-core and any Dependencies as submodules to your project
  2. Make use of Features as desired.
  3. Done!

This is the recommended Unity project folder structure:

- Assets
  - Anvil
    - anvil-csharp-core
    - anvil-unity-core

Common Errors

Can't Compile - Errors related to Logging or Logging DLLs are recognized as "Native"

Example:

The type or namespace name 'AbstractLogHandler' could not be found

This usually means that Git LFS hasn't been initialized. Check the size of the DLL. If it's less than a kilobyte then the Git LFS files have not yet been resolved.

Running git lfs pull in each submodules will generally fix the issue.