コード例 #1
0
    //private int nextAno;
    //public string playerMessage = "O tempo parece passar tão rápido.";
    //public int tempoPadrao = 30;
    //public int tempoAvancado = 30000;

    // Use this for initialization
    void Start()
    {
        _player = GameObject.FindWithTag("Player");
        _balao  = _player.GetComponentInChildren <Balao> ();
        //_timer = _player.GetComponent<Timer> ();
        _data = GameObject.Find("PlayerData").GetComponent <PlayerData> ();
        //_mov= _player.GetComponent<Movimento> ();

        //if (_mov.exit==scenarioExit){
        //	_player.transform.position = playerStart.transform.position;
        //}
    }
コード例 #2
0
        public ActionResult Store(Balao balao)

        {
            return(View());
        }
コード例 #3
0
 void Start()
 {
     balao = GetComponent <Balao> ();
 }