Class PrefabAttribute
- Namespace
- Exiled.API.Features.Attributes
- Assembly
- Exiled.API.dll
Represents the base class for custom attributes.
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class PrefabAttribute : Attribute, _Attribute
- Inheritance
-
PrefabAttribute
- Implements
- Inherited Members
- Extension Methods
Constructors
PrefabAttribute(uint, string)
Initializes a new instance of the PrefabAttribute class.
public PrefabAttribute(uint assetId, string name)
Parameters
Properties
AssetId
Gets the prefab's asset id.
public uint AssetId { get; }
Property Value
Name
Gets the prefab's name.
public string Name { get; }