Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
man-in-the-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
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
MIM
man-in-the-mirror
Commits
a602447d
Commit
a602447d
authored
Jul 30, 2019
by
18신대성
Committed by
18손재민
Jul 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
코멘트 표시 구현완료
parent
76617d1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
PlayStage.unity
Assets/Scenes/PlayStage.unity
+2
-2
CommentUIGenerator.cs
Assets/Scripts/UIs/CommentUIGenerator.cs
+7
-1
No files found.
Assets/Scenes/PlayStage.unity
View file @
a602447d
...
...
@@ -812,7 +812,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
m_IsActive
:
0
---
!u!224
&1547091490
RectTransform
:
m_ObjectHideFlags
:
0
...
...
@@ -846,7 +846,7 @@ MonoBehaviour:
m_Name
:
m_EditorClassIdentifier
:
m_Material
:
{
fileID
:
0
}
m_Color
:
{
r
:
0.23584908
,
g
:
0.23584908
,
b
:
0.23584908
,
a
:
0.7
764706
}
m_Color
:
{
r
:
0.23584908
,
g
:
0.23584908
,
b
:
0.23584908
,
a
:
0.7
8431374
}
m_RaycastTarget
:
1
m_OnCullStateChanged
:
m_PersistentCalls
:
...
...
Assets/Scripts/UIs/CommentUIGenerator.cs
View file @
a602447d
...
...
@@ -30,8 +30,14 @@ public class CommentUIGenerator : MonoBehaviour
{
yield
return
new
WaitForSeconds
(
5f
);
float
currentTime
=
Time
.
time
;
for
(;
currentTime
+
5000
>=
Time
.
time
;)
float
backAlpha
=
200
;
float
textAlpha
=
255
;
for
(;
currentTime
+
4000
>=
Time
.
time
;)
{
backAlpha
-=
50f
*
Time
.
deltaTime
;
textAlpha
-=
(
255
/
4
)
*
Time
.
deltaTime
;
commentUI
.
GetComponent
<
Image
>().
color
=
new
Color
(
0.2358491f
,
0.2358491f
,
0.2358491f
,
backAlpha
/
255
);
comment
.
color
=
new
Color
(
1
,
1
,
1
,
textAlpha
/
255
);
yield
return
null
;
}
commentUI
.
SetActive
(
false
);
...
...
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