using System; namespace Goap.Agent.Core { public interface IComponentReference { [Obsolete("'GetComponent' is deprecated, please use 'GetCachedComponent' instead. Exact same functionality, name changed to better communicate code usage.")] T GetComponent(); T GetCachedComponent(); object GetCachedComponent(Type _type); [Obsolete("'GetComponentInChildren' is deprecated, please use 'GetCachedComponentInChildren' instead. Exact same functionality, name changed to better communicate code usage.")] T GetComponentInChildren(); T GetCachedComponentInChildren(); T GetCachedComponentInParent(); } }