21 lines
472 B
C#
21 lines
472 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Unity.Tutorials.Core.Tests
|
|
{
|
|
static class TestComponents
|
|
{
|
|
// Nest type to avoid it showing up in the "Add Component" menu
|
|
public class ComponentWithNestedValues : MonoBehaviour
|
|
{
|
|
public A componentWithNestedValuesFieldA;
|
|
|
|
[Serializable]
|
|
public struct A
|
|
{
|
|
public int componentWithNestedValuesFieldB;
|
|
}
|
|
}
|
|
}
|
|
}
|