Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorpangloss committed Feb 12, 2016
1 parent b2519e1 commit 15cc12e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ A Unity SDK for Meteor. Supports Unity3D 5.0.0 and higher!
// Create a collection
var collection = Meteor.Collection<DocumentType>.Create ("collectionName");
// Add some handlers
collection.DidAddRecord += (string id, DocumentType document) => {
// Add some handlers with the new observer syntax
var observer = new Meteor.Observe<DocumentType>(collection, added: (string id, DocumentType document) => {
Debug.Log(string.Format("Document added:\n{0}", document.Serialize()));
};
Expand Down

0 comments on commit 15cc12e

Please sign in to comment.