From 2683c04adcaff44f9504248d2c983cd86bd4b3ad Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 31 May 2021 09:43:09 +0800 Subject: *tween --- .../Animation/Tween/Demo/TweenEventHandlerTest.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenEventHandlerTest.cs (limited to 'Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenEventHandlerTest.cs') diff --git a/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenEventHandlerTest.cs b/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenEventHandlerTest.cs new file mode 100644 index 0000000..ff7874a --- /dev/null +++ b/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenEventHandlerTest.cs @@ -0,0 +1,18 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using TweenAnimation; + +public class TweenEventHandlerTest : MonoBehaviour , ITweenEventHandler +{ + public void OnTweenEvent(string eventName) + { + } + + [ExecuteInEditMode] + public void RecvEvent(string content) + { + Debug.Log(content); + } + +} -- cgit v1.1-26-g67d0