Exemple #1
0
	// Use this for initialization
	void Start () {
		targetTextBox = GameObject.FindGameObjectWithTag ("TextBox_LEFT");
		storyManager = GameObject.FindGameObjectWithTag ("Story_Manager");
		storyManagerController = storyManager.GetComponent<StoryTextManager> ();
		SPEAKER_1 = GameObject.FindGameObjectWithTag ("SPEAKER_1");
		SPEAKER_1_Controller = SPEAKER_1.GetComponent<SpeakerMotionController> ();
		findStoryData(targetScene);
		parseTargetSpeakerText ();
		showSpeakerHead ();
		SPEAKER_1_Controller.ToggleMovement ();
		textComponent = targetTextBox.GetComponent<Text> ();
		StartCoroutine (TypeOutLines());
	}