Show / Hide Table of Contents

Class WeaverGameManager

An object used to do actions that are related to the whole game

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

Properties

| Edit this page View Source

CurrentMapZone

Gets the current map zone the player is located in

Declaration
public static MapZone CurrentMapZone { get; }
Property Value
Type Description
MapZone

Methods

| Edit this page View Source

FreezeGameTime(TimeFreezePreset)

Freezes the game temporarily. Mainly used when the player gets hit, the enemy is stunned, and more

Declaration
public static void FreezeGameTime(WeaverGameManager.TimeFreezePreset preset)
Parameters
Type Name Description
WeaverGameManager.TimeFreezePreset preset

The specific preset to apply

| Edit this page View Source

TriggerGameStateChange()

Declaration
public static void TriggerGameStateChange()

Events

| Edit this page View Source

OnGameStateChange

An event that is called when the game state changes

Declaration
public static event Action<GameState> OnGameStateChange
Event Type
Type Description
Action<GameState>

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
☀
☾