Cursors

From KitHack Model Club Wiki
Jump to navigation Jump to search

Back to SDK API Reference

Cursors

Cursors.AnimatedCursor

  • Method: Int32 get_frameCount()
  • Method: Void SetFrame(Int32 value)
  • Method: Void NextFrame()
  • Method: Void PrevFrame()
  • Method: Texture2D get_Texture()
  • Method: Vector2 get_PixelHotspot()
  • Method: Void SetDirty()
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Int32 frameCount
  • Property: Texture2D Texture
  • Property: Vector2 PixelHotspot
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Texture2D[] textures
  • Field: Single frameInterval
  • Field: Int32 currentFrame
  • Field: Vector2 hotspot
  • Field: CursorMode mode
  • Field: Color color
  • Field: ColorBlendingMode colorBlendingMode
  • Field: Texture2D cursorTexture

Cursors.CursorAsset

  • Method: Texture2D get_Texture()
  • Method: Vector2 get_PixelHotspot()
  • Method: Void SetDirty()
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Texture2D Texture
  • Property: Vector2 PixelHotspot
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Vector2 hotspot
  • Field: CursorMode mode
  • Field: Color color
  • Field: ColorBlendingMode colorBlendingMode
  • Field: Texture2D cursorTexture

Cursors.CursorAssets

  • Method: CursorAsset get_DefaultCursor()
  • Method: CursorAsset get_Highlight()
  • Method: CursorAsset get_ContextHover()
  • Method: CursorAsset get_CloneCursor()
  • Method: CursorAsset get_Crosshairs()
  • Method: CursorAsset get_Loading()
  • Method: CursorAsset get_LoadingInBackground()
  • Method: CursorAsset get_PaintCursor()
  • Method: CursorAsset get_DecalCursor()
  • Method: CursorAssets get_Instance()
  • Method: Void Awake()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: CursorAsset DefaultCursor
  • Property: CursorAsset Highlight
  • Property: CursorAsset ContextHover
  • Property: CursorAsset CloneCursor
  • Property: CursorAsset Crosshairs
  • Property: CursorAsset Loading
  • Property: CursorAsset LoadingInBackground
  • Property: CursorAsset PaintCursor
  • Property: CursorAsset DecalCursor
  • Property: CursorAssets Instance
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: CursorAsset defaultCursor
  • Field: CursorAsset highlight
  • Field: CursorAsset contextHover
  • Field: CursorAsset cloneCursor
  • Field: CursorAsset crosshairs
  • Field: CursorAsset loading
  • Field: CursorAsset loadingInBackground
  • Field: CursorAsset paintCursor
  • Field: CursorAsset decalCursor
  • Field: CursorAssets instance

Cursors.CursorLogic

  • Method: CursorLogic get_Instance()
  • Method: Void Awake()
  • Method: CursorAsset get_DefaultCursor()
  • Method: CursorAsset get_CurrentCursor()
  • Method: AnimatedCursor get_CurrentCursorAnim()
  • Method: Void OnBtnUpdate()
  • Method: Void Start()
  • Method: Void LateUpdate()
  • Method: Void SetCurrentCursor(CursorAsset ca)
  • Method: Void SetCursor(CursorAsset currentCursor)
  • Method: CursorRequest GetTopRequest(List`1 reqs)
  • Method: Void UpdateCursorStack()
  • Method: CursorRequest RequestCursor(CursorAsset cursor, String id, Int32 priority)
  • Method: Void RemoveCursorRequest(String id)
  • Method: Void RemoveCursorRequest(CursorRequest req)
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: CursorLogic Instance
  • Property: CursorAsset DefaultCursor
  • Property: CursorAsset CurrentCursor
  • Property: AnimatedCursor CurrentCursorAnim
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: CursorAsset defaultCursor
  • Field: CursorAsset currentCursor
  • Field: AnimatedCursor currentCursorAnim
  • Field: Single tLastUpdate
  • Field: List`1 requests
  • Field: CursorLogic instance

Cursors.CursorRequest

  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Field: String id
  • Field: CursorAsset cursor
  • Field: Int32 priority

Cursors.CursorOnPtrHover

  • Method: Void UI.IPtrHoverable.OnPtrHoverEnter(Pointer ptr)
  • Method: Void UI.IPtrHoverable.OnPtrHoverExit(Pointer ptr)
  • Method: Void OnDisable()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: CursorAsset hoverCursor
  • Field: Int32 priority

Cursors.CursorOnUIHover

  • Method: Void UnityEngine.EventSystems.IPointerEnterHandler.OnPointerEnter(PointerEventData eventData)
  • Method: Void UnityEngine.EventSystems.IPointerExitHandler.OnPointerExit(PointerEventData eventData)
  • Method: Void OnDisable()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: CursorAsset hoverCursor
  • Field: Int32 priority