Kursach_StealthAction/Assets/Tremble/Attributes/Classes/EntityAttributeBase.cs
2026-10-11 19:16:11 +03:00

26 lines
673 B
C#

//
// This file is part of the Tremble package by Tiny Goose.
// Copyright (c) 2024-2026 TinyGoose Ltd., All Rights Reserved.
//
using System;
using UnityEngine;
namespace TinyGoose.Tremble
{
[AttributeUsage(AttributeTargets.Class)]
public abstract class EntityAttributeBase : SelectionBaseAttribute
{
protected EntityAttributeBase(string trenchBroomName = null, string category = null)
{
m_TrenchBroomName = trenchBroomName.Sanitise();
m_Category = category.Sanitise();
}
private readonly string m_TrenchBroomName;
private readonly string m_Category;
public string TrenchBroomName => m_TrenchBroomName;
public string Category => m_Category;
}
}