Second commit

This commit is contained in:
ThomasCharester committed 2026-09-20 15:26:03 +03:00
commit 36840f3ad4
999 files changed
+61364

No files matched your search

@@ -0,0 +1,32 @@
//
// This file is part of the Tremble package by Tiny Goose.
// Copyright (c) 2024-2026 TinyGoose Ltd., All Rights Reserved.
//
using System;
using UnityEngine.Scripting;
namespace TinyGoose.Tremble.Editor
{
[AttributeUsage(AttributeTargets.Class)]
public class ManualPageAttribute : PreserveAttribute
{
public ManualPageAttribute(string path, string title = null, bool showInTree = true, bool isHomePage = false)
{
m_Path = path;
m_Title = title ?? path.Split('/')[^1];
m_ShowInTree = showInTree;
m_IsHomePage = isHomePage;
}
private readonly string m_Title;
private readonly string m_Path;
private readonly bool m_ShowInTree;
private readonly bool m_IsHomePage;
public string Title => m_Title;
public string Path => m_Path;
public bool ShowInTree => m_ShowInTree;
public bool IsHomePage => m_IsHomePage;
}
}