Exemplo n.º 1
0
    CoinController NewCoinController()
    {
        GameObject     go = GameObject.Instantiate(m_Coin_Prefab) as GameObject;
        CoinController cC = go.GetComponent <CoinController> ();

        cC.IReset();
        return(cC);
    }