static public void Building(UnitTower unit) { if (overlayManager == null) { Init(); } int num = GetUnuseFlag(); inUseFlags[num] = true; overlayManager.StartCoroutine(overlayManager.Building(num, unit)); }