refactor: follow naming convention

This commit is contained in:
Paul Pacheco 2019-04-06 08:22:56 -05:00
parent 683ada6bd1
commit 5a8e42028c

View File

@ -19,7 +19,7 @@ public class NetworkBehaviourInspector : Editor
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
bool SyncsAnything(Type scriptClass)
@ -103,7 +103,7 @@ public override void OnInspectorGUI()
{
if (property.name == "m_Script")
{
if (hideScriptField)
if (HideScriptField)
{
continue;
}