Skip to content

Commit 3297df4

Browse files
committed
Update script creation templates to use correct namespace
1 parent 2c739d4 commit 3297df4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Editor/ScriptCreation/Templates/EditorTemplate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace ${EDITOR_NAMESPACE}
44
{
55
[CustomEditor(typeof(${EVENT_NAME}))]
6-
public class ${EDITOR_NAME} : BaseScriptableEventEditor<${EVENT_ARG_NAME}>
6+
public class ${EDITOR_NAME} : ScriptableEventEditor<${EVENT_ARG_NAME}>
77
{
88
protected override ${EVENT_ARG_NAME} DrawArgField(${EVENT_ARG_NAME} value)
99
{

Editor/ScriptCreation/Templates/EventTemplate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace ${EVENT_NAMESPACE}
77
menuName = ScriptableEventConstants.MenuNameCustom + "/${EVENT_MENU_NAME}",
88
order = ScriptableEventConstants.MenuOrderCustom + ${EVENT_MENU_ORDER}
99
)]
10-
public class ${EVENT_NAME} : BaseScriptableEvent<${EVENT_ARG_NAME}>
10+
public class ${EVENT_NAME} : ScriptableEvent<${EVENT_ARG_NAME}>
1111
{
1212
}
1313
}

Editor/ScriptCreation/Templates/ListenerTemplate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace ${LISTENER_NAMESPACE}
66
ScriptableEventConstants.MenuNameCustom + "/${LISTENER_MENU_NAME}",
77
ScriptableEventConstants.MenuOrderCustom + ${LISTENER_MENU_ORDER}
88
)]
9-
public class ${LISTENER_NAME} : BaseScriptableEventListener<${EVENT_ARG_NAME}>
9+
public class ${LISTENER_NAME} : ScriptableEventListener<${EVENT_ARG_NAME}>
1010
{
1111
}
1212
}

0 commit comments

Comments
 (0)