CoinController NewCoinController() { GameObject go = GameObject.Instantiate(m_Coin_Prefab) as GameObject; CoinController cC = go.GetComponent <CoinController> (); cC.IReset(); return(cC); }