Example #1
0
        protected override void OnWorldUIBinding()
        {
            if (m_Binding == null)
            {
                m_Binding = new WorldUIBinding();
            }

            m_Binding.Set(m_TargetUI, m_FollowPosition, m_UIOffset, m_WorldOffset);
        }
Example #2
0
        protected override void OnWorldUIBinding()
        {
            if (m_FollowObject == null)
            {
                return;
            }

            if (m_Binding == null)
            {
                m_Binding = new WorldUIBinding();
            }

            m_Binding.Set(m_TargetUI, m_FollowObject, m_UIOffset, m_WorldOffset);
        }