Ejemplo n.º 1
0
    public override void OnStartLocalPlayer()
    {
        base.OnStartLocalPlayer();

        // trigger event to denote that this player joined a network game
        NetworkGameLocalJoinedEvent.Trigger(this);
    }
Ejemplo n.º 2
0
 public void OnMMEvent(NetworkGameLocalJoinedEvent eventType)
 {
     // setup this menu for new joining players if needed
     SetupMenuForJoinerIfAppropriate(eventType.joiningChar);
 }
Ejemplo n.º 3
0
 public void OnMMEvent(NetworkGameLocalJoinedEvent eventType)
 {
     // turn of this menu
     DeactivateMenu();
 }