Unity3D - Fixed-radius entity (subscription) grid
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
.gitattributes
.gitignore
README.md

README.md

Simple World grid

About

A Unity Extension to manage big amounts of entities. It features automatic subscription/unsubscription by radius to enable interest based messaging.

How to use

Implement the IGridEntity Interface for the entities. Create an instance of SimpleWorldGrid and add entities to it via
gridReference.Add(T entity) and remove them with
gridReference.Remove(T entity).

Note

The Grid instance currently has to be created at runtime, it can't be in a field initializer, as its update-routine is started on the parent monobehaviour.