mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-02-08 13:40:58 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
18 lines
635 B
C#
18 lines
635 B
C#
namespace Sandbox
|
|
{
|
|
/// <summary>
|
|
/// Apply this attribute to a component class to mark its GameObject as a selection base for Scene View picking.
|
|
/// For example, if you click on a child object within a Prefab, the root of the Prefab is selected by default.
|
|
/// With the SelectionBase attribute, you can designate a specific component (and its GameObject) to be treated as a selection base,
|
|
/// ensuring it is picked when clicking in the Scene View.
|
|
/// </summary>
|
|
[AttributeUsage( AttributeTargets.Class )]
|
|
public sealed class SelectionBaseAttribute : Attribute
|
|
{
|
|
public SelectionBaseAttribute() : base()
|
|
{
|
|
}
|
|
}
|
|
|
|
}
|