Documentation

Page contents

Updated

Generate PDF from page.

Canvas Safe Area Behavior

Files: CGFCanvasSafeAreaBehavior.cs

Path: "CGF/Systems/UI"

Description

Behavior that allows the associated gameobject to manages and adjusts the UI panel to fit within the device's safe area.

Reference

No public or serialized members detected.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.