mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-17 08:10:04 -05:00
16 lines
393 B
C#
16 lines
393 B
C#
using System;
|
|
using UnityEngine.EventSystems;
|
|
using UnityEngine.UI;
|
|
|
|
namespace VRM10.Samples.MToon10Showcase
|
|
{
|
|
public sealed class GraphicScrollHandler : Graphic , IScrollHandler
|
|
{
|
|
public Action<PointerEventData> OnScrollAction { get; set; }
|
|
|
|
public void OnScroll(PointerEventData eventData)
|
|
{
|
|
OnScrollAction?.Invoke(eventData);
|
|
}
|
|
}
|
|
} |