Exemplo n.º 1
0
        public override void OnStoryLoaded(StoryReader reader)
        {
            _reader = reader;

            reader.Story.BindExternalFunction<string>(DECLARE_METHOD_NAME, new System.Action<string>(DeclareItem));
            //observe pre-declared items
            foreach (ItemView view in _itemViews) ObserveVariable(view.itemName);
        }
Exemplo n.º 2
0
 public override void OnStoryLoaded(StoryReader reader)
 {
     if (_feedObjects.Count > 0) {
         foreach (GameObject go in _feedObjects) {
             Destroy(go);
         }
         _feedObjects.Clear();
     }
 }
Exemplo n.º 3
0
 public override void OnStoryLoaded(StoryReader reader)
 {
     ClearButtons();
 }
Exemplo n.º 4
0
 public void BindOption(StoryReading.StoryReader newReader, int newOptionIndex)
 {
     reader      = newReader;
     optionIndex = newOptionIndex;
 }
Exemplo n.º 5
0
 //story loading
 public override void OnStoryLoaded(StoryReader reader)
 {
     if (_showDebugMessages) Debug.Log("OnStoryLoaded");
 }
Exemplo n.º 6
0
 public override void OnStoryLoaded(StoryReader reader)
 {
     reader.Story.ObserveVariable(_variableName, MapVariableChanged);
 }
Exemplo n.º 7
0
 //story loading
 public virtual void OnStoryLoaded(StoryReader reader)
 {
 }