public void OnHide()
 {
     if (m_LoadedPrefab)
     {
         Object.Destroy(m_LoadedPrefab);
         m_LoadedPrefab = null;
         TestResManager.UnLoad(m_ResPath);
     }
 }
 public bool OnShow(Transform parent)
 {
     if (m_LoadedPrefab == null)
     {
         var obj = TestResManager.Load(m_ResPath);
         m_LoadedPrefab = UnityEngine.Object.Instantiate <GameObject>(obj);
         m_LoadedPrefab.transform.SetParent(parent);
         m_LoadedPrefab.transform.position    = m_Position;
         m_LoadedPrefab.transform.eulerAngles = m_Rotation;
         m_LoadedPrefab.transform.localScale  = m_Size;
         return(true);
     }
     return(false);
 }