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