미션 생성기

This commit is contained in:
2026-05-11 13:12:48 +09:00
parent 23470d36a9
commit a35b7f8b17
7 changed files with 151 additions and 2 deletions

View File

@@ -32,5 +32,12 @@ public bool PayMoney(int cost)
//예산 부족
return false;
}
// 미션 생성 시점에 예산 덮어쓰기
public void SetBudget(int budget)
{
_budget = Mathf.Max(0, budget);
OnBudgetChanged?.Invoke(_budget);
}
}
}