public void TrySpawnOurForce(Movable obj, int line) { if (goldMgr.playerGold - obj.GetUnitCost() >= 0) { goldMgr.playerGold -= obj.GetUnitCost(); SpawnOurForce(obj, line); } }