-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCUI-Simple-Screen-Flow.puml
More file actions
41 lines (32 loc) · 1006 Bytes
/
Copy pathCUI-Simple-Screen-Flow.puml
File metadata and controls
41 lines (32 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@startuml CUI-Simple-Screen-Flow
title Simple CUI Screen Flow
hide footbox
skinparam backgroundColor #FAFBFC
skinparam shadowing false
skinparam defaultFontName Arial
skinparam defaultFontSize 14
skinparam ArrowColor #39566F
skinparam participant {
BackgroundColor #EAF3F8
BorderColor #39566F
FontColor #183244
}
actor "Player" as Player
participant "Unity" as Unity
participant "CUI Library" as CUI
participant "BasicScreenExample\nUIScreen subclass" as Example
participant "Generated UGUI" as UGUI
Unity -> CUI : Enable screen component
CUI -> Example : Build()
Example -> CUI : Declare panel, label, and button
CUI -> UGUI : Create canvas and widgets
CUI --> Example : Return retained UILabel handle
Player -> UGUI : Click INCREMENT
UGUI -> Example : Increment()
Example -> UGUI : Update count through UILabel.Value
UGUI --> Unity : Render the current HUD
note over Example, UGUI
Build creates the structure once.
The retained label handle updates the value later.
end note
@enduml