using UnityEngine; using System.Collections; public class PowerIconContainer : MonoBehaviour { public PowerIcon[] powerIcons; public PowerIcon[] crystalPowerIcons; public GameObject radioIcon; public SwapBtn swapBtn; public bool isMenu; void Awake() { int i=0; BattleController battleController = GameObject.FindObjectOfType(); for(i=0; i