25 lines
333 B
C#
25 lines
333 B
C#
using UnityEngine;
|
|
|
|
namespace NaughtyAttributes.Test
|
|
{
|
|
public class ShowNativePropertyTest : MonoBehaviour
|
|
{
|
|
[ShowNativeProperty]
|
|
private Transform Transform
|
|
{
|
|
get
|
|
{
|
|
return transform;
|
|
}
|
|
}
|
|
|
|
[ShowNativeProperty]
|
|
private Transform ParentTransform
|
|
{
|
|
get
|
|
{
|
|
return transform.parent;
|
|
}
|
|
}
|
|
}
|
|
}
|