14 lines
380 B
C#
14 lines
380 B
C#
using TinyGoose.Tremble;
|
|
using UnityEngine;
|
|
|
|
namespace Code.Game.OfficeGame.Location
|
|
{
|
|
[BrushEntity(type: BrushType.Invisible)]
|
|
public class InvisibleWall : MonoBehaviour, IOnImportFromMapEntity
|
|
{
|
|
public void OnImportFromMapEntity(MapBsp mapBsp, BspEntity entity)
|
|
{
|
|
gameObject.layer = LayerMask.NameToLayer("Environment");
|
|
}
|
|
}
|
|
} |