Beispiel #1
0
    // Use this for initialization
    void Awake()
    {
        //All links on Game - GO so this is valid.
        keyboard = GetComponent <Keyboard>();
        mouse    = GetComponent <Mouse>();

        currentGame = new Game_Session();

        //Now that a Session Exists we can Assign the Human to the K/M
        mouse.human = currentGame.human;
    }
Beispiel #2
0
 void Start()
 {
     gameCamera   = GameObject.Find("GameCamera");
     game_Session = GameObject.Find("Game_").GetComponent <Game>().game_Session;
 }