From c7e2d8f773baa3955f17402b842eb43329c5f3a0 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 7 Apr 2021 21:06:10 +0800 Subject: +UI_Effect --- Assets/Test/01_UIBehaviour/UI_01_Child1.cs | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Assets/Test/01_UIBehaviour/UI_01_Child1.cs (limited to 'Assets/Test/01_UIBehaviour/UI_01_Child1.cs') diff --git a/Assets/Test/01_UIBehaviour/UI_01_Child1.cs b/Assets/Test/01_UIBehaviour/UI_01_Child1.cs new file mode 100644 index 0000000..e337662 --- /dev/null +++ b/Assets/Test/01_UIBehaviour/UI_01_Child1.cs @@ -0,0 +1,43 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.UI; + +public class UI_01_Child1 : UIBehaviour +{ + + + protected override void OnRectTransformDimensionsChange() + { + Debug.Log("UI_01_Child1.OnRectTransformDimensionsChange()"); + } + + + protected override void OnBeforeTransformParentChanged() + { + Debug.Log("UI_01_Child1.OnBeforeTransformParentChanged()"); + } + + protected override void OnTransformParentChanged() + { + Debug.Log("UI_01_Child1.OnTransformParentChanged()"); + } + + protected override void OnDidApplyAnimationProperties() + { + Debug.Log("UI_01_Child1.OnDidApplyAnimationProperties()"); + } + + protected override void OnCanvasGroupChanged() + { + Debug.Log("UI_01_Child1.OnCanvasGroupChanged()"); + } + + protected override void OnCanvasHierarchyChanged() + { + Debug.Log("UI_01_Child1.OnCanvasHierarchyChanged()"); + } + + +} -- cgit v1.1-26-g67d0