|
Adventure Creator 1.85.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2025
|
Public Attributes | |
| RectTransform | transformToControl = null |
| Vector2 | minAnchorPoint = new Vector2 (0.5f, 0.5f) |
| Vector2 | maxAnchorPoint = new Vector2 (0.5f, 0.5f) |
| bool | updatePosition = true |
| bool | updateScale = true |
| bool | accountForSafeArea = false |
Protected Attributes | |
| CanvasScaler | canvasScaler |
| Vector2 | originalReferenceResolution |
| bool | hasInitialised |
This script can re-position and re-scale a Unity UI-based Menu if the playable area is not the same as the game screen. This can be the case if an aspect ratio is enforced, or if running on a mobile device with notched features.