private void BarrierUtility(int tier) { if (!HasBarrier()) { Barrier.gameObject.SetActive(true); Barrier.ResetStatus(); tier--; } Barrier.EarnExperience(4 * tier);//1 level per tier }