UnitySerializedReferenceUI/Assets/Textus/SerializeReferenceUIExample/ExampleOfUsageFromDifferentAssembly/Animals/CatBase.cs

30 lines
296 B
C#
Raw Permalink Normal View History


public abstract class CatBase : MammalBase, ICat
{
public string Tag = default;
}
public interface ICat
{
}
public class RedCat : CatBase
{
}
public class GoldenCat : CatBase
{
}
public class GreenCat : CatBase
{
}
public class BlackCat : CatBase
{
}