Skip to content

Essential and minimalistic game management tools: messaging, service locator, data-storage and more

License

Notifications You must be signed in to change notification settings

chark/game-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Management

Unity 6000.0+ openupm Actions Status

⚠️ Warning, this is a preview package, expect breaking changes between releases!

Essential, minimalistic and code-first Game Management tools. Perfect for game-jams and medium-sized projects.

class MyGameManager : GameManager
{
    protected override void OnBeforeInitializeSystems()
    {
        AddSystem(new PlayerSystem());
    }
}

class Player : MonoBehavior
{
    PlayerSystem playerSystem;

    void Awake() 
    {
        playerSystem = GameManager.GetSystem<PlayerSystem>();
    }
    
    void Start()
    {
        GameManager.Publish(new PlayerSpawnedMessage());
    }
}

Features

  • Code-first
  • Service Locator
  • Message Bus
  • JSON Serialization/deserialization utilities
  • File reading/writing with JSON support
  • Logging utilities
  • Automatic initialization
  • Odin Inspector support
  • UniTask support

Installation

This package can be installed via OpenUPM:

openupm add com.chark.game-management

Or via the Unity Package Manager by Installing from a Git URL:

https://github.com/chark/game-management.git#upm

Alternatively, manually install by adding the following entry to Packages/manifest.json:

{
  "com.chark.game-management": "https://github.com/chark/game-management.git#upm"
}

If you'd like to install a specific release, replace upm suffix with version number, e.g., v0.0.1. You can find all releases here.

Links

About

Essential and minimalistic game management tools: messaging, service locator, data-storage and more

Topics

Resources

License

Contributing

Stars

Watchers

Forks