MayHeCome/Assets/Exoa/Common/Packages/UIElements/Editor/UnityEngine.Events/OrientationEvent.cs

23 lines
337 B
C#
Raw Normal View History

2024-12-18 09:55:34 +00:00
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;
}
}
}