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_Child2.cs | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Assets/Test/01_UIBehaviour/UI_01_Child2.cs (limited to 'Assets/Test/01_UIBehaviour/UI_01_Child2.cs') diff --git a/Assets/Test/01_UIBehaviour/UI_01_Child2.cs b/Assets/Test/01_UIBehaviour/UI_01_Child2.cs new file mode 100644 index 0000000..a1b244a --- /dev/null +++ b/Assets/Test/01_UIBehaviour/UI_01_Child2.cs @@ -0,0 +1,42 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.EventSystems; +using UnityEngine.UI; + +public class UI_01_Child2 : UIBehaviour +{ + public int Test_Property; + + protected override void OnRectTransformDimensionsChange() + { + Debug.Log("UI_01_Child2.OnRectTransformDimensionsChange()"); + } + + protected override void OnBeforeTransformParentChanged() + { + Debug.Log("UI_01_Child2.OnBeforeTransformParentChanged()"); + } + + protected override void OnTransformParentChanged() + { + Debug.Log("UI_01_Child2.OnTransformParentChanged()"); + } + + protected override void OnDidApplyAnimationProperties() + { + Debug.Log("UI_01_Child2.OnDidApplyAnimationProperties()"); + } + + protected override void OnCanvasGroupChanged() + { + Debug.Log("UI_01_Child2.OnCanvasGroupChanged()"); + } + + protected override void OnCanvasHierarchyChanged() + { + Debug.Log("UI_01_Child2.OnCanvasHierarchyChanged()"); + } + + +} -- cgit v1.1-26-g67d0