// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik // using UnityEngine; namespace Animancer { /************************************************************************************************************************/ /// /// An object that will be drawn by a /// which allows the user to select its type in the Inspector. /// /// /// Implement this interface in a to indicate that it /// should entirely replace the . /// /// https://kybernetik.com.au/animancer/api/Animancer/IPolymorphic public interface IPolymorphic { } /************************************************************************************************************************/ /// An with a method. /// https://kybernetik.com.au/animancer/api/Animancer/IPolymorphicReset public interface IPolymorphicReset : IPolymorphic { /// Called when an instance of this type is created in a [] field. void Reset(object oldValue = null); } /************************************************************************************************************************/ /// /// The attributed field will be drawn by a /// which allows the user to select its type in the Inspector. /// /// https://kybernetik.com.au/animancer/api/Animancer/PolymorphicAttribute public sealed class PolymorphicAttribute : PropertyAttribute { } /************************************************************************************************************************/ }