private void GoodsInFireworksEffect(GameObject obj) { GoodsView view = obj.transform.GetComponent <GoodsView> (); if (view != null) { view.showFireworksEffectByQuality(); } }