Example #1
0
        //called when the mission is failed
        public void Forfeit()
        {
            gameMgr.MissionMgr.OnFailed(); //let the manager know 

            CustomEvents.OnMissionFail(this); //trigger custom event
            failEvent.Invoke();
        }