mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
refactor: follow naming convention
This commit is contained in:
parent
683ada6bd1
commit
5a8e42028c
@ -19,7 +19,7 @@ public class NetworkBehaviourInspector : Editor
|
|||||||
|
|
||||||
readonly GUIContent syncVarIndicatorContent = new GUIContent("SyncVar", "This variable has been marked with the [SyncVar] attribute.");
|
readonly GUIContent syncVarIndicatorContent = new GUIContent("SyncVar", "This variable has been marked with the [SyncVar] attribute.");
|
||||||
|
|
||||||
internal virtual bool hideScriptField => false;
|
internal virtual bool HideScriptField => false;
|
||||||
|
|
||||||
// does this type sync anything? otherwise we don't need to show syncInterval
|
// does this type sync anything? otherwise we don't need to show syncInterval
|
||||||
bool SyncsAnything(Type scriptClass)
|
bool SyncsAnything(Type scriptClass)
|
||||||
@ -103,7 +103,7 @@ public override void OnInspectorGUI()
|
|||||||
{
|
{
|
||||||
if (property.name == "m_Script")
|
if (property.name == "m_Script")
|
||||||
{
|
{
|
||||||
if (hideScriptField)
|
if (HideScriptField)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user