Exemplo n.º 1
0
    public void testStoreAndRetrieve()
    {
        // Reset with instantiate instance
        PersistenceController.instance.inventoryState.currentLine = 3;
        Assert.AreEqual(3, PersistenceController.instance.inventoryState.currentLine);

        PersistenceController.ResetState();
        Assert.AreEqual(0, PersistenceController.instance.inventoryState.currentLine);
    }
Exemplo n.º 2
0
 void Start()
 {
     PersistenceController.ResetState();
     //PersistenceController.instance.InitialiseState();
 }