Asset Developers

Creating assets based on System Core

Like what your seeing?

Introduction

So you want to use System Core as a dependency for your assets? That's great!

This article will help you get started, there isn't much to cover but what there is; is important to know!

Dependency

System Core should only ever be installed via Package Manager! You can check rather System Core is installed and what version is installed using the Package Manager namespace in Unity.

To learn more, read this article.

Conditional Compile

System Core creates a script define HE_SYSCORE when it is installed properly. You can use this script define to drive conditional compilation for example.

#if HE_SYSCORE
    //System Core is installed and available
#else
    //System Core is not installed, maybe you should ask them to install it?
#endif

Derived System Core

So you really want to make your own flavour of System Core. No problem, while you cant publish it to complete with System Core proper you can certainly fork and make your own for your own use.

Keep in mind that other assets may be checking for specifically one of Heathen's versions via the Package Manager. An alternative to creating your own version of System Core is to extend System Core.

System Core Extension

The best method for adding your own spin to things.

This works out better because:

  • Other assets dependent on specific versions of System Core wont have issue with your extension like they would with a derivative.

  • Since its an extension you can publish it however you like including for sale ... in fact we encourage that :)

This is simply creating your own asset that is dependent on System Core and extends its classes, interfaces, etc.

Last updated