Beispiel #1
0
 void CmdLoadQuestion(GameScript.Question question)
 {
     if (gameScript == null)
     {
         gameScript = GameObject.FindObjectOfType <GameScript> ();
     }
     gameScript.loadQuestion(question);
 }
Beispiel #2
0
//
//	public void giveClientsQuestions(){
//		CmdGiveClientsQuestions ();
//	}

//	[Command]
//	void CmdGiveClientsQuestions(){
//		if (gameScript == null) {
//			gameScript = GameObject.FindObjectOfType<GameScript> ();
//		}
//		gameScript.GivingPlayersQuestions ();
//	}

    public void loadQuestion(GameScript.Question question)
    {
        CmdLoadQuestion(question);
    }