mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
This is always true
This commit is contained in:
parent
69fdbea892
commit
518233cd7e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user