Psgg Unity Menu by NNNIC - 11

Games & Projects

StateGo Unity Menu sample

Unknown VersionMIT LicenseUpdated 1 year agoCreated on July 17th, 2018
Go to source

psgg-unity-menu

StateGo

Overview

  1. A PSGG state machine will create UI.
    Assets/app/0100_Base/UIControl/state

UI state machine

  1. A PSGG state machine will handle events. It shows dialog when button5 pushes. Assets/app/0100_Base/MainControl
    Main state machine

UI System

Of this example, it will create a panel and buttons that are cloned from template.

UI view is “A unit by A pixel” system for improving maintainability.

When the target view is as iPhone X size, it keeps the safe area.

Error Dialog

Error dialog can be created by ErrorDlg.V.SetError();
It allows you to call the api multi times.

Event System

All UI Events will be recorded by MainStateEvent.Push(). This will be used for UI Test.

Camera Settings

Depth

Camera Mask Depth Comment
UI/main/Camera UI 11 Main UI
BG/Camera None -49 Background Color
ErrorDg/Camera UI 50 Error Dialog

Play the scene

Load Assets/app/0100_Base/base.unity

app

Show all projects by NNNIC