Пример #1
0
    void Start()
    {
        base.Start();
        _gameParam           = GameManager.GetComponent <GameParam> ();
        _score               = _canvas.GetComponent <Score> ();
        _genfake             = GameManager.GetComponent <GenFake>();
        _uiSetting           = _canvas.GetComponent <UiSetting> ();
        FakePlayer.gameparam = _gameParam;

        firstPosition = new Vector3(0.0f, -3.4f, 0);        //new Vector3(3.82f, -491.0f, 0);
    }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     _uiSetting = this.GetComponent <UiSetting> ();
 }