mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-22 15:45:35 +01:00
Added not supported types example.
Classes that has no empty parameters are not supported and not shown(activator can not create instances of them).
This commit is contained in:
parent
f89d7debe5
commit
2e08459265
@ -1,8 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public struct AnimalStruct : IAnimal
|
public struct AnimalStruct : IAnimal
|
||||||
{
|
{
|
||||||
public string name;
|
public string name;
|
||||||
public void Feed() => throw new NotImplementedException();
|
public void Feed() => Debug.Log("thanks");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user