32 static t_ListCellType*
Get()
35 return m_Prefab.Ptr();
37 m_Prefab = _u::GameObject::New_ctor(std::string(classof(t_ListCellType*)->name) +
"ListCellPrefab", ArrayW<_u::Type*>({
38 reinterpret_cast<_u::Type*
>(csTypeOf(_u::RectTransform*)),
39 reinterpret_cast<_u::Type*
>(csTypeOf(t_ListCellType*))
40 }))->GetComponent<t_ListCellType*>();
42 _u::GameObject::DontDestroyOnLoad(m_Prefab->get_gameObject());
43 m_Prefab->get_gameObject()->SetActive(
false);
45 return m_Prefab.Ptr();