This is always true

This commit is contained in:
Paul Pacheco 2020-03-29 13:39:19 -05:00
parent 69fdbea892
commit 518233cd7e

View File

@ -74,7 +74,7 @@ public override GUIContent GetPreviewTitle()
public override bool HasPreviewGUI() public override bool HasPreviewGUI()
{ {
return target is GameObject gameObject && gameObject != null && gameObject.GetComponent<NetworkIdentity>() != null; return target is GameObject gameObject && gameObject.GetComponent<NetworkIdentity>() != null;
} }
public override void OnPreviewGUI(Rect r, GUIStyle background) public override void OnPreviewGUI(Rect r, GUIStyle background)