Files
Hasebe/Assets/Code/OfficeGame/Location/InvisibleWall.cs
T
2026-09-25 16:27:22 +03:00

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");
}
}
}