Class WeaverCanvas
A component used to access and manipulate the UI canvas
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public class WeaverCanvas : MonoBehaviour
Properties
| Edit this page View SourceContent
The child object where UI content should be placed
Declaration
public static Transform Content { get; }
Property Value
Type | Description |
---|---|
Transform |
HUDBlanker
Gets the HUD blanker used to blank out the screen with a solid black color
Declaration
public static GameObject HUDBlanker { get; }
Property Value
Type | Description |
---|---|
GameObject |
HUDBlankerWhite
Gets the HUD blanker used to blank out the screen with a solid white color
Declaration
public static GameObject HUDBlankerWhite { get; }
Property Value
Type | Description |
---|---|
GameObject |
Instance
Gets the current UI canvas in the game
Declaration
public static WeaverCanvas Instance { get; }
Property Value
Type | Description |
---|---|
WeaverCanvas |
SceneContent
The child object where scene specific UI Content should be placed. Any time a new scene is loaded, all child objects of this Transform will get destroyed
Declaration
public static Transform SceneContent { get; }
Property Value
Type | Description |
---|---|
Transform |