From d73bf5308e3194344a4a41301036c3ab41ea9df7 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Wed, 16 Nov 2022 21:32:59 +0300 Subject: [PATCH] Update Definition Creator Editor --- Editor/DefinitionCreatorEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();