コード例 #1
0
    private Competitor <GameObject> EnterRequestIntoParticipationCompetition(ParticipationRequest request)
    {
        Competitor <GameObject> competitor = null;

        if (PriorityCompetition != null)
        {
            competitor = PriorityCompetition.EnterCompetitor(request.Requestor);
            AddObserverAndListenersToParticipationRequestor(competitor);
            UpdateParticipationWhenRequestReceived(request);
        }
        return(competitor);
    }