rohan-buechner / ezs-unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EZS & Examples

Unity Editor Development Only

This currently only works in Unity itself. Trying to build it won't work until I've cleaned up and tested EZS Core on each platform. This is high priority for the next upcoming release.

Requirements

  • Unity 2018.1.x or newer

Design Rules

Specifically for C# there are a few rules that you will have to follow in order to keep the design safe from breaking as you develop your game.

Components

  • None of UnityEngine's initialization/execution functions should be used. e.g. Awake, Start, Update, OnTriggerEnter, etc. Remember components must not contain any logic or scripts. See them as structs.

Systems

  • No public variables. That also means no references to GameObjects or other components set in your scene. Use the "RegisterComponents" function from the examples to understand how to reference other components.

Events

  • They are player interactions or global events. Something that changes the state of the player's game. e.g. MoveForward, Jump, Open Menu, CloseApplication, etc.
  • Imagine having no events. The game should still "simulate" itself. e.g. AI still does AI things, collisions still occur, etc.

About

License:MIT License


Languages

Language:C# 100.0%