Exemplo n.º 1
0
	void Awake(){
		treasureOpen = GetComponent<Animator> ();
		textCheck = (Typing_Input)FindObjectOfType (typeof(Typing_Input));
		realStatus (Game_Controller.gameDiff);
		calculateWord(Game_Controller.wordDiff);
		textTyping = GetComponentsInChildren<TextMesh> ();
	}
Exemplo n.º 2
0
	void Awake(){
		paragraph = Game_Controller.a.getParagraph();
		PRG_Controller = gameObject.GetComponentInChildren<Question> ();
		PRG_STSC = gameObject.GetComponentInChildren<Choice> ();
		textCheck = (Typing_Input)FindObjectOfType (typeof(Typing_Input));
		realStatus (Game_Controller.gameDiff);
		textTyping = GetComponentsInChildren<TextMesh> ();
	}
Exemplo n.º 3
0
	void Awake(){
		setOfQuiz = Game_Controller.a.getQuestionAndAns();
		QnTPn = gameObject.GetComponentInChildren<Question> ();
		QnTPnC = gameObject.GetComponentInChildren<Choice> ();
		textCheck = (Typing_Input)FindObjectOfType (typeof(Typing_Input));
		realStatus (Game_Controller.gameDiff);
		textTyping = GetComponentsInChildren<TextMesh> ();
	}
Exemplo n.º 4
0
	void Awake(){
		skillTextTyping = GetComponentsInChildren<Text> ();
		textCheck = (Typing_Input)FindObjectOfType (typeof(Typing_Input));
		fire = GetComponent<Skill_Fire> ();
		ice = GetComponent<Skill_Ice> ();
		knock = GetComponent<Skill_Knock> ();
		slow = GetComponent<Skill_Slow> ();
		heal = GetComponent<Skill_Heal> ();
		trap = GetComponent<Skill_Trap> ();
	}
Exemplo n.º 5
0
	void Start () {
		textCheck = (Typing_Input)FindObjectOfType (typeof(Typing_Input));
		textTyping = GetComponentsInChildren<TextMesh> ();
//		calculateWord (0);
	}
Exemplo n.º 6
0
    void Awake(){
//		setStroke = GetComponent<Text_Outline> ();
		enemyScript = GetComponent<Enemy> ();
		//Call Animator of Enemy
		enemy_Anim = GetComponent<Animator> ();
		//Call Script typing
		textCheck = (Typing_Input)FindObjectOfType (typeof(Typing_Input));
		//Calculate new Enemy Status
		realStatus (Game_Controller.gameDiff);
        calculateWord(Game_Controller.wordDiff);
		textTyping = GetComponentsInChildren<TextMesh> ();
		positionBorn = gameObject.transform.position;
	}