Пример #1
0
    protected override void OnPlayerExitedRoom(GameEvents.PlayerExitedRoomEvent e)
    {
        base.OnPlayerExitedRoom(e);

        if (e.RoomID == m_HomeRoomID)
        {
            m_WaitToReturnTime = UnityEngine.Random.Range(1f, 3f);
            m_Target           = null;
        }
    }
Пример #2
0
 protected virtual void OnPlayerExitedRoom(GameEvents.PlayerExitedRoomEvent e)
 {
 }