public void SetupNeoMemory() { neoMemory = NeoMemory.getInstance(); TEST_CONNECTION_STRING = "URI=file:" + Application.dataPath + "/test/neo_brain_test.db"; neoMemory.setconnectionString(TEST_CONNECTION_STRING); DBUtils.setConnectionString(TEST_CONNECTION_STRING); apple = new ObjectData("apple", "red", new List <string>(new string[] { "fruit", "food" }), 200, 500); }
public static NeoMemory getInstance() { if (instance == null) { instance = new NeoMemory(); } return(instance); }
// Use this for initialization void Start() { neoBrain = NeoMemory.getInstance(); person = (EntityData)gameObject.GetComponent("EntityData"); }
// Use this for initialization void Start() { NeoBrain = NeoMemory.getInstance(); locator = (LocationScanner)gameObject.GetComponent("LocationScanner"); }