Question by
zachary4032 · Jul 12, 2018 at 05:58 AM ·
dispatch
Dispatch system?
So I'm making a firefighter game and I want a dispatch system that allows fires to spawn wherever. How can I achieve this with #C?
Comment
You need to say more about detail. How the fire work? What the heck dispatch system you are talking about?
Hi @zachary4032 - you better start looking into C# language tutorials, look for delegates, events, and building pubsub systems.
Well I want something that will pop up and you can click Y or N to either go or not go
Here is my personal confirmation window popup that ask yes/no/cancel https://pastebin.com/R$$anonymous$$Y8amdL
PopupWindow.Instance.OpenPopup(new PopupData("title","message","yes button string", "no button string", (confirm) =>
{
if (confirm)
{
//Your Yes action go here
}
else
{
//Your no action go here
}
}));
Your answer
![](https://koobas.hobune.stream/wayback/20220612170540im_/https://answers.unity.com/themes/thub/images/avi.jpg)