mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-22 23:55:35 +01:00
2e08459265
Classes that has no empty parameters are not supported and not shown(activator can not create instances of them).
10 lines
164 B
C#
10 lines
164 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public struct AnimalStruct : IAnimal
|
|
{
|
|
public string name;
|
|
public void Feed() => Debug.Log("thanks");
|
|
}
|