From 234c25bc8761a4d41bc5b4aa362449cf3e806e13 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 17 Sep 2021 20:09:19 +0800 Subject: *unit image effect --- Assets/Scripts/Unit/Components/UnitComponent.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Assets/Scripts/Unit/Components/UnitComponent.cs') diff --git a/Assets/Scripts/Unit/Components/UnitComponent.cs b/Assets/Scripts/Unit/Components/UnitComponent.cs index a5034581..825b6d92 100644 --- a/Assets/Scripts/Unit/Components/UnitComponent.cs +++ b/Assets/Scripts/Unit/Components/UnitComponent.cs @@ -29,6 +29,10 @@ public class UnitComponent : MonoBehaviour m_Owner = GetComponent(); } + public virtual void OnPostInitialize() + { + } + public virtual void Release() { m_Owner = null; -- cgit v1.1-26-g67d0