Пример #1
0
    // Use this for initialization
    void Start()
    {
        _humanMover  = GameObject.Find("TestObject");
        _maze        = GameObject.Find("Maze");
        _voronoi     = GameObject.Find("Voronoi");
        _textMessage = GameObject.Find("Canvas");
        _voronoi.SetActive(true);
        _textMessage.SetActive(false);

        myTrials = new TrialManager();


        //setup portion
        _maze.SetActive(false);

        //Networking for controls
        networkControlCenter = new NetworkControlCenter();
        networkControlCenter.Start(this.gameObject, myTrials, true);
    }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     networkControlCenter = new NetworkControlCenter();
     myTrials             = new TrialManager();
     networkControlCenter.Start(this.gameObject, myTrials, false);
 }