protected void Start() { client = new MongoClient(new MongoUrl("mongodb://*****:*****@ds049624.mlab.com:49624/wordriver")); server = client.GetServer(); server.Connect(); db = server.GetDatabase("wordriver"); allContextPacks = db.GetCollection <BsonDocument>("contextpacks"); allWords = db.GetCollection <BsonDocument>("words"); allWordPacks = db.GetCollection <BsonDocument>("wordpacks"); foreach (BsonDocument item in allWords.FindAll()) { BsonElement name = item.GetElement("name"); string wordValue = name.Value.ToString(); words.Add(wordValue); } Readable.Speak("Let's Build a Sentence!"); }
public void OnBeginDrag(PointerEventData eventData) { Readable.Speak(this.label); }
public void OnBeginDrag() { Readable.Speak(this.label); Debug.Log("OnBeginDrag of a tile"); }