public void CheckButtonGear() { if (listType.Count == 0) { return; } else { indexButton = 1; TypeController type = listType[0].GetComponent <TypeController>(); type.CheckIndex(indexButton); //ExplosionController.Instance.ExplosionIcon(listType[0].GetComponent<RectTransform>().transform); SwapListType(); } }