Second commit
This commit is contained in:
commit
36840f3ad4
999 files changed
+61364
No files matched your search
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// This file is part of the Tremble package by Tiny Goose.
|
||||
// Copyright (c) 2024-2026 TinyGoose Ltd., All Rights Reserved.
|
||||
//
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace TinyGoose.Tremble
|
||||
{
|
||||
/// <summary>
|
||||
/// Add this component to an existing Prefab which doesn't contain a
|
||||
/// MonoBehaviour to allow it to be placed in TrenchBroom easily.
|
||||
/// </summary>
|
||||
[PrefabEntity]
|
||||
public sealed class TrembleSpawnablePrefab : MonoBehaviour
|
||||
{
|
||||
[SerializeField, NoTremble] private string m_Category;
|
||||
[SerializeField, NoTremble] private Texture2D m_OverrideSprite;
|
||||
[SerializeField, NoTremble] private bool m_OnlyVariants;
|
||||
|
||||
public string Category => m_Category;
|
||||
public Texture2D OverrideSprite => m_OverrideSprite;
|
||||
public bool OnlyVariants => m_OnlyVariants;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user