36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
|
using TMPro;
|
|||
|
using UnityEngine;
|
|||
|
using ZGame;
|
|||
|
|
|||
|
namespace Runtime
|
|||
|
{
|
|||
|
public class Product3SetTextPositionEventArgs : GameEventArgs
|
|||
|
{
|
|||
|
public static readonly int EventId = typeof(Product3SetTextPositionEventArgs).GetHashCode();
|
|||
|
public override int Id => EventId;
|
|||
|
|
|||
|
public Vector2 pos;
|
|||
|
public Vector3 angle;
|
|||
|
public TextAlignmentOptions alignmentOptions;
|
|||
|
|
|||
|
public Product3SetTextPositionEventArgs(Vector2 pos, Vector3 angle, TextAlignmentOptions alignmentOptions)
|
|||
|
{
|
|||
|
this.pos = pos;
|
|||
|
this.angle = angle;
|
|||
|
this.alignmentOptions = alignmentOptions;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public class Product3SetTextTargetEventArgs : GameEventArgs
|
|||
|
{
|
|||
|
public static readonly int EventId = typeof(Product3SetTextTargetEventArgs).GetHashCode();
|
|||
|
public override int Id => EventId;
|
|||
|
|
|||
|
public TMP_InputField target;
|
|||
|
|
|||
|
public Product3SetTextTargetEventArgs(TMP_InputField target)
|
|||
|
{
|
|||
|
this.target = target;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|