Example #1
0
    private void TrafficChild(Child child)
    {
        childrenTrafficked++;
        ChildManager.KillChild(childThatWillBeTaken, Child.ChildState.kTrafficed);

        if (childrenTrafficked == 3)
        {
            GameObject.Find(EventDialogScript.EventDialogName).GetComponent <EventDialogScript>().QueueEvent(new UNPeaceKeepersArriveEventScript());
        }
    }