Merge pull request #361 from SpicyGangjeong/Develope

[Follow]
This commit is contained in:
qordlsgur
2025-12-08 14:47:21 +09:00
committed by GitHub
46 changed files with 652 additions and 205 deletions
+15
View File
@@ -118,9 +118,24 @@ void CLayer::Describe_Entity()
GUI::PushID(iter);
if (GUI::SmallButton((to_string(iIndex) + " : " + typeid(*iter).name()).c_str())) {
m_pGameInstance->Force_CamPosition(iter->Get_WorldPostion() - XMVectorSet(0.f, -1.f, 1.f, 0.f) * 10.f);
/* 클릭시 타겟으로 설정함 */
m_pTargetObject = iter;
} iIndex++;
GUI::PopID();
}
/* 클릭한 객체의 컴포넌트 디스크립션을 부른다.*/
if (m_pTargetObject != nullptr)
{
if(GUI::TreeNode(typeid(*m_pTargetObject).name()))
{
m_pTargetObject->Describe_Entity();
GUI::TreePop();
}
}
}
#endif // _DEBUG
+5
View File
@@ -36,6 +36,11 @@ class ENGINE_DLL CLayer final : public CBase
private:
class CGameInstance* m_pGameInstance = { nullptr };
list<class CGameObject*> m_ObjectList;
#ifdef _DEBUG
private:
class CGameObject* m_pTargetObject = { nullptr };
#endif
private:
HRESULT Initialize();