.
.
This commit is contained in:
@@ -126,7 +126,8 @@ HRESULT CDecendo::Pre_Setting(CGameObject* pObject, void* pArg)
|
|||||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||||
pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||||
|
|
||||||
|
pCircle0->Set_Visible(true);
|
||||||
|
pWandLight->Set_Visible(true);
|
||||||
|
|
||||||
/* 초기 위치 저장 */
|
/* 초기 위치 저장 */
|
||||||
_vector vStartPos = m_pOwner->Get_WorldPostion();
|
_vector vStartPos = m_pOwner->Get_WorldPostion();
|
||||||
@@ -279,6 +280,9 @@ void CDecendo::OnCollision(CGameObject* pOther, void* pDesc)
|
|||||||
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
pCircle0->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||||
pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
pWandLight->Get_Component<CTransform>()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
|
||||||
|
|
||||||
|
pCircle0->Set_Visible(false);
|
||||||
|
pWandLight->Set_Visible(false);
|
||||||
|
|
||||||
_vector vPlayerPos = m_pOwner->Get_Component<CTransform>()->Get_State(STATE::POSITION);
|
_vector vPlayerPos = m_pOwner->Get_Component<CTransform>()->Get_State(STATE::POSITION);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
|
|||||||
if (FAILED(Ready_Lights())) {
|
if (FAILED(Ready_Lights())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
//if (FAILED(Ready_Background())) {
|
if (FAILED(Ready_Background())) {
|
||||||
// return E_FAIL;
|
return E_FAIL;
|
||||||
//}
|
}
|
||||||
if (FAILED(Ready_Markers())) {
|
if (FAILED(Ready_Markers())) {
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user