17 lines
343 B
C#
17 lines
343 B
C#
using System;
|
|
|
|
namespace XRLib
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public partial class Label : Attribute
|
|
{
|
|
public string name;
|
|
public Type target;
|
|
|
|
public Label(Type targetType, string gameObjectName)
|
|
{
|
|
target = targetType;
|
|
name = gameObjectName;
|
|
}
|
|
}
|
|
} |