Update Definition Creator Editor

This commit is contained in:
Syntriax 2022-11-16 21:32:59 +03:00
parent 4cd6006837
commit d73bf5308e
1 changed files with 2 additions and 2 deletions

View File

@ -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();