то же самое

This commit is contained in:
lapich committed 2026-10-11 19:16:11 +03:00
1 parent 090cdc9933
commit ac99977be3
534 files changed
+36990 -48

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