Beispiel #1
0
        private void RestParent()
        {
            var transformParent = transform.parent;

            if (transformParent)
            {
                m_UIParent = transformParent.GetComponentInParent <KaiTool_BoundedUIObject>();
            }
            else
            {
                m_UIParent = null;
            }
        }
Beispiel #2
0
 private void Reset()
 {
     m_UIObject = GetComponent <KaiTool_BoundedUIObject>();
 }