Show / Hide Table of Contents

Class WeaverCompassUpdater

Updates the compass to wherever the player is located. Not sure if this gets triggered in-game

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
WeaverCompassUpdater
Namespace: WeaverCore.Components
Assembly: WeaverCore.dll
Syntax
public class WeaverCompassUpdater : MonoBehaviour

Methods

| Edit this page View Source

UpdateCompassPosition()

Updates the compass point on the map to whereever the player is currently located

Declaration
public void UpdateCompassPosition()
| Edit this page View Source

UpdateCompassPosition(Vector2)

Updates the compass point on the map to the specified position

Declaration
public void UpdateCompassPosition(Vector2 worldPosition)
Parameters
Type Name Description
Vector2 worldPosition

The position in the world the compass should point towards

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾