using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Goap.Agent.Core { public interface IMonoBehaviour { bool Equals(object other); int GetHashCode(); string ToString(); int GetInstanceID(); string name { get; set; } HideFlags hideFlags { get; set; } Transform transform { get; } GameObject gameObject { get; } string tag { get; set; } bool enabled { get; set; } bool isActiveAndEnabled { get; } bool useGUILayout { get; set; } Component GetComponent(Type type); T GetComponent(); Component GetComponent(string type); bool TryGetComponent(Type type, out Component component); bool TryGetComponent(out T component); Component GetComponentInChildren(Type t, bool includeInactive); Component GetComponentInChildren(Type t); T GetComponentInChildren(bool includeInactive); T GetComponentInChildren(); Component[] GetComponentsInChildren(Type t, bool includeInactive); Component[] GetComponentsInChildren(Type t); T[] GetComponentsInChildren(bool includeInactive); void GetComponentsInChildren(bool includeInactive, List result); T[] GetComponentsInChildren(); void GetComponentsInChildren(List results); Component GetComponentInParent(Type t, bool includeInactive); Component GetComponentInParent(Type t); T GetComponentInParent(bool includeInactive); T GetComponentInParent(); Component[] GetComponentsInParent(Type t, bool includeInactive); Component[] GetComponentsInParent(Type t); T[] GetComponentsInParent(bool includeInactive); void GetComponentsInParent(bool includeInactive, List results); T[] GetComponentsInParent(); Component[] GetComponents(Type type); void GetComponents(Type type, List results); void GetComponents(List results); T[] GetComponents(); bool CompareTag(string tag); void SendMessageUpwards(string methodName, object value, SendMessageOptions options); void SendMessageUpwards(string methodName, object value); void SendMessageUpwards(string methodName); void SendMessageUpwards(string methodName, SendMessageOptions options); void SendMessage(string methodName, object value); void SendMessage(string methodName); void SendMessage(string methodName, object value, SendMessageOptions options); void SendMessage(string methodName, SendMessageOptions options); void BroadcastMessage(string methodName, object parameter, SendMessageOptions options); void BroadcastMessage(string methodName, object parameter); void BroadcastMessage(string methodName); void BroadcastMessage(string methodName, SendMessageOptions options); bool IsInvoking(); bool IsInvoking(string methodName); void CancelInvoke(); void CancelInvoke(string methodName); void Invoke(string methodName, float time); void InvokeRepeating(string methodName, float time, float repeatRate); Coroutine StartCoroutine(string methodName); Coroutine StartCoroutine(string methodName, object value); Coroutine StartCoroutine(IEnumerator routine); Coroutine StartCoroutine_Auto(IEnumerator routine); void StopCoroutine(IEnumerator routine); void StopCoroutine(Coroutine routine); void StopCoroutine(string methodName); void StopAllCoroutines(); } }