FirstPerson Camera
This commit is contained in:
1 parent
f0bb83c869
commit
ee8bd4799a
10 files changed
+42
-155
No files matched your search
@@ -1,15 +0,0 @@
|
||||
using TinyGoose.Tremble;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Game.OfficeGame.Location
|
||||
{
|
||||
[BrushEntity(type: BrushType.Trigger)]
|
||||
public class LocationCameraTrigger : MonoBehaviour, IOnImportFromMapEntity
|
||||
{
|
||||
private int _id;
|
||||
public void OnImportFromMapEntity(MapBsp mapBsp, BspEntity entity)
|
||||
{
|
||||
gameObject.layer = LayerMask.NameToLayer("CameraZone");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8664bf69f30d4f558a6ab68b65c0ab8f
|
||||
timeCreated: 1790280158
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 630e34c01f57474894fcdb9490d516d9
|
||||
timeCreated: 1790332570
|
||||
@@ -1,14 +0,0 @@
|
||||
using TinyGoose.Tremble;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Game.OfficeGame.Location
|
||||
{
|
||||
[PointEntity(category: "Utility", trenchBroomName: "LocationTransitionPoint")]
|
||||
public class LocationTransitionPoint : MonoBehaviour
|
||||
{
|
||||
public LocationIDs locationID;
|
||||
[NoTremble] [DoNotSerialize]
|
||||
public LocationIDs selfLocationID;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d3fe671e3d374beb9c03247bc7252cf3
|
||||
timeCreated: 1790332908
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91456def45ba47a7bb82f0b9f97a6101
|
||||
timeCreated: 1790335988
|
||||
Reference in new issue
Block a user