Second commit
This commit is contained in:
commit
36840f3ad4
999 files changed
+61364
No files matched your search
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user