void Awake()
 {
     if (story == null)
     {
         story = GetComponent <Story>();
     }
     Instance = this;
 }
Example #2
0
 void Start()
 {
     story = GameObject.FindGameObjectWithTag("Narrator").GetComponent <storyController>();
 }
Example #3
0
 // Use this for initialization
 void Start()
 {
     story = GetComponentInParent <storyController>();
 }
 void Start()
 {
     activeStory = GetComponent <storyController>();
 }