Skip to content

A generic world and environment API for Unity to enable environmental assets to play nicely together.

License

Notifications You must be signed in to change notification settings

isuru117/WorldManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WorldManager

A generic world and environment API for Unity to enable environmental assets to play nicely together.

WorldManager allows you to control the components that render your environment in a generic and coordinated way.

The intention is to bridge the gap between assets and make it easier to develop games by plugging them together using a common API. You will still configure assets individually to your own taste, but coordination and control is generic and centralised.

Assets can choose which parts of the API they implement and regardless of how much they support, you will still get value from this system because of the way it coordinates their behaviour.

Basic Usage Pattern

To generate events, and get and set values use the following generic format e.g. WorldManager.Instance.Api()

To receive events when values are changed connect up the event handlers e.g. WorldManager.Instance.OnApiChangedHandler += YourHandler()

To stop receiving events when values change disconnect your handler e.g. WorldManager.Instance.OnApiChangedHandler -= YourHandler()

API Categories

  • IsActive
  • Time
  • Player Location, Sea Level, Latitude & Longitude
  • Temperature and humidity
  • Wind
  • Fog
  • Rain
  • Hail
  • Snow
  • Thunder
  • Clouds
  • Moon
  • Season
  • Sound Levels

About

A generic world and environment API for Unity to enable environmental assets to play nicely together.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages