diff --git a/Editor/DefinitionCreatorEditor.cs b/Editor/DefinitionCreatorEditor.cs index 1ca5bfd..8c4c8be 100644 --- a/Editor/DefinitionCreatorEditor.cs +++ b/Editor/DefinitionCreatorEditor.cs @@ -59,8 +59,8 @@ namespace Syntriax.Modules.Movement.Editor GUILayout.Label("If under a namespace: \"Namespace.ClassName\""); GUILayout.Label("If not under a namespace: \"ClassName\""); GUILayout.Space(5); - GUILayout.Label("Tip: Apply these to your GameObjects by calling"); - GUILayout.Label($"{MovementFactory.GetTypeName(typeof(MovementDefinitionFactory))}.Instance.ApplyDefinitionToGameObject(\"{movementName.stringValue}\");"); + GUILayout.Label($"Tip: Apply these to your GameObjects by using {nameof(MovementDefinitionFactory)}"); + GUILayout.Label($"{nameof(MovementDefinitionFactory)}.Instance.ApplyDefinitionToGameObject(\"{movementName.stringValue}\");"); if (quickPresetButtonPressed) LoadPresetQuick(); if (longerPresetButtonPressed) LoadPresetLonger();