Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andoowhy committed Apr 28, 2016
1 parent 772780b commit 77582c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class Movement : MonoBehaviour
* **Systems** run logic & perform updates on GameObjects with the desired attached components:

```C#
// MovementSystem.cs
using UnityEngine;

// MovementSystem updates any GameObject with a Transform & Movement Component
Expand Down Expand Up @@ -59,8 +60,8 @@ Following this convention literally, Systems are completely isolated from one an
* Systems can register **Event Handlers** (methods) for specified Events. Multiple Systems can handle the same Event:

```C#
// ExampleSystem.cs
using UnityEngine;
using System.Collections;

public class ExampleSystem : EgoSystem<Rigidbody>
{
Expand Down Expand Up @@ -96,6 +97,7 @@ public class ExampleSystem : EgoSystem<Rigidbody>
* EgoCS provides built-in Events for most MonoBehavior Messages (OnCollisionEnter, OnTriggerExit, etc.), and you can easily create your own custom events:

```C#
// ExampleSystem.cs
using UnityEngine;

public class ExampleSystem : EgoSystem<Rigidbody>
Expand Down Expand Up @@ -151,6 +153,9 @@ Attach an `EgoInterface` Component to this GameObject. This Component is the bri
Add your Systems to EgoCS in your `EgoInterface`'s static contructor:

```C#
// EgoInterface.cs
using UnityEngine;

public class EgoInterface : MonoBehaviour
{
static EgoInterface()
Expand Down

0 comments on commit 77582c3

Please sign in to comment.