mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-12-22 15:38:28 +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 UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public struct AnimalStruct : IAnimal
|
||||
{
|
||||
public string name;
|
||||
public void Feed() => throw new NotImplementedException();
|
||||
public void Feed() => Debug.Log("thanks");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user