UnitySerializedReferenceUI/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/AnimalStruct.cs
Textus 1e8f80077f Added not supported types example.
Classes that has no empty parameters are not supported and not shown(activator can not create instances of them).
2020-08-13 18:10:25 +03:00

9 lines
161 B
C#

using System;
[Serializable]
public struct AnimalStruct : IAnimal
{
public string name;
public void Feed() => throw new NotImplementedException();
}