Commit 99b0af01 authored by 18신대성's avatar 18신대성 Committed by 18손재민

카메라 트리거 생성

리무브시 바닥에 assign 없애기 넣음
parent 26d17af8
......@@ -90,6 +90,7 @@ GameObject:
- component: {fileID: 439939669}
- component: {fileID: 896145114}
- component: {fileID: 7514060783340336889}
- component: {fileID: 1176797860003478902}
m_Layer: 0
m_Name: camera
m_TagString: Untagged
......@@ -161,6 +162,20 @@ NavMeshObstacle:
m_CarveOnlyStationary: 1
m_Center: {x: 0, y: 0.5, z: 0}
m_TimeToStationary: 0.5
--- !u!136 &1176797860003478902
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6001025753464815805}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
m_Radius: 0.26
m_Height: 0.57
m_Direction: 1
m_Center: {x: 0, y: 0.42, z: 0}
--- !u!1 &6001025753464815807
GameObject:
m_ObjectHideFlags: 0
......
......@@ -49,7 +49,7 @@ public class Briefcase : MonoBehaviour, IObject, IPlayerInteractor
if (GameManager.nCase >= 0)
MapManager.inst.currentMap.clearConditions[GameManager.nCase].IsDone(1);
floor.objOnFloor = null;
Destroy(gameObject);
MapManager.inst.currentMap.RemoveObject(Position);
}
}
......
......@@ -268,6 +268,7 @@ public class Map : MonoBehaviour
}
Destroy(objectGrid[pos].GetObject());
objectGrid.Remove(pos);
floorGrid[pos].objOnFloor = null;
StartCoroutine(MapManager.inst.Rebaker());
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment