15 lines
410 B
C#
15 lines
410 B
C#
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");
|
|
}
|
|
}
|
|
} |