public UIObjectTimed(UIObject UIObject, float time)
 {
     m_UIObject = UIObject;
     m_Time = time;
 }
        public void SetUIObject(UIObject uiObject)
        {
            m_ObjReference = uiObject;

            if (m_ObjReference != null)
                m_ObjReference.SetUIEffect(this);
        }