mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Simplify conditional
This commit is contained in:
parent
5bd90fa63c
commit
bb237d6fbb
@ -30,10 +30,7 @@ public override void Initialize(UnityObject[] targets)
|
||||
|
||||
public override GUIContent GetPreviewTitle()
|
||||
{
|
||||
if (m_Title == null)
|
||||
{
|
||||
m_Title = new GUIContent("NetworkManager Message Handlers");
|
||||
}
|
||||
m_Title = m_Title ?? new GUIContent("NetworkManager Message Handlers");
|
||||
return m_Title;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user