Skip to content

Commit

Permalink
Update EventWindowEditor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayWolf52 committed May 11, 2024
1 parent ef8c967 commit 9e7ce7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VirtueSky/Events/Editor/EventWindowEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ public static void CreateEventVector3()
[MenuItem(menuEvent + "GameObject Event")]
public static void CreateEventGameObject()
{
CreateAsset.CreateScriptableAssetsOnlyName<Vector3Event>(pathEvent, "so_gameobject_event");
CreateAsset.CreateScriptableAssetsOnlyName<GameObjectEvent>(pathEvent, "so_gameobject_event");
}

[MenuItem(menuEvent + "Transform Event")]
public static void CreateEventTransform()
{
CreateAsset.CreateScriptableAssetsOnlyName<Vector3Event>(pathEvent, "so_transform_event");
CreateAsset.CreateScriptableAssetsOnlyName<TransformEvent>(pathEvent, "so_transform_event");
}

#endregion
Expand Down

0 comments on commit 9e7ce7a

Please sign in to comment.