fix: _cachedPosition defaults to localPosition

Close #121
pull/150/head
mob-sakai 2021-02-01 23:51:35 +09:00
parent 501aa7b7f1
commit c0aa89bd6f
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ namespace Coffee.UIExtensions
#if !SERIALIZE_FIELD_MASKABLE
maskable = m_Maskable;
#endif
_cachedPosition = transform.localPosition;
_cachedPosition = transform.position;
activeMeshIndices.Clear();
UIParticleUpdater.Register(this);