Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
civilization-iii
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
true-history-committee
civilization-iii
Commits
caef6b5b
Commit
caef6b5b
authored
Jul 05, 2018
by
14양은정
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UIManager Edit
parent
ab5a79fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
UIManager.cs
Assets/Script/UI/UIManager.cs
+8
-4
No files found.
Assets/Script/UI/UIManager.cs
View file @
caef6b5b
...
...
@@ -10,8 +10,10 @@ public class UIManager : MonoBehaviour
// Use this for initialization
void
Start
()
{
mapUI
=
GameObject
.
Find
(
"MapUI"
);
}
GameObject
map
=
GameObject
.
Find
(
"MapUI"
);
GameObject
management
=
GameObject
.
Find
(
"ManagementUI"
);
GameObject
quest
=
GameObject
.
Find
(
"QuestUI"
);
}
// Update is called once per frame
void
Update
()
...
...
@@ -24,8 +26,10 @@ public class UIManager : MonoBehaviour
if
(
go
.
activeSelf
==
false
)
{
go
.
SetActive
(
true
);
if
(
go
!=
mapUI
)
mapUI
.
SetActive
(
false
);
}
if
(
go
!=
map
)
map
.
SetActive
(
false
);
if
(
go
!=
management
)
management
.
SetActive
(
false
);
if
(
go
!=
quest
)
quest
.
SetActive
(
false
);
}
else
{
go
.
SetActive
(
false
);
...
...
Ghost User
@ghost
·
Jul 05, 2018
저의 동방컴 커밋입니다.
저의 동방컴 커밋입니다.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment