MayHeCome/Assets/Exoa/Common/Packages/UIElements/Editor/UnityEngine.Events/OrientationEvent.cs
2024-12-18 17:55:34 +08:00

23 lines
337 B
C#

using System;
namespace UnityEngine.Events
{
public struct OrientationEvent
{
public Component target
{
get;
set;
}
public Action<DeviceOrientation> action
{
get;
set;
}
public OrientationEvent(Component target, Action<DeviceOrientation> action)
{
this.target = target;
this.action = action;
}
}
}