[Modify] Visible로 업데이트 및 랜더 조정
[Modify] IMGUI로 부모 자식들 조절
This commit is contained in:
@@ -61,17 +61,34 @@ _vector CElementObject::Get_WorldPostion()
|
||||
return m_pOwner->Get_WorldPostion();
|
||||
}
|
||||
|
||||
void CElementObject::Visible(_bool bVisible)
|
||||
{
|
||||
m_bActive = bVisible;
|
||||
}
|
||||
|
||||
_bool CElementObject::Chack_Visible()
|
||||
{
|
||||
if (m_pOwner->Get_Visible() == false )
|
||||
{
|
||||
m_bVisible = m_pOwner->Get_Visible();
|
||||
}
|
||||
else if (static_cast<CUIObject*>(m_pOwner)->Get_Active() == false)
|
||||
{
|
||||
m_bVisible = static_cast<CUIObject*>(m_pOwner)->Get_Active();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_bVisible = m_bActive;
|
||||
}
|
||||
return m_bVisible;
|
||||
}
|
||||
|
||||
HRESULT CElementObject::Ready_Components(void* pArg)
|
||||
{
|
||||
__super::Ready_Components(pArg);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void CElementObject::Visible(_bool bVisible)
|
||||
{
|
||||
Set_Visible(bVisible);
|
||||
}
|
||||
|
||||
void CElementObject::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
Reference in New Issue
Block a user