Exemplo n.º 1
0
    private void Awake()
    {
        globalVariables = ArticyGlobalVariables.Default; //get the default global variables

        //subscribe to chapter update delegate to check the current chapter, this just means when the flow player says it's a new chapter, our chapter method will fire
        flowHandler.chapterUpdate += CompareChapters;
    }
Exemplo n.º 2
0
 private void Awake()
 {
     //Subscribe to flow updates to check for inventory changes (there's probably a more efficient option)
     flowPlayer.FlowIsUpdated += UpdateInventory;
     globalVars = ArticyGlobalVariables.Default;
     inventory  = new Dictionary <string, GameObject>();
 }
Exemplo n.º 3
0
 private void Awake()
 {
     GetComponent <ArticyDebugFlowPlayer>().FlowIsUpdated += ConfigureText;
     globalVars = ArticyGlobalVariables.Default;
 }