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
0d2d3d62
Commit
0d2d3d62
authored
Jul 30, 2019
by
18신대성
Committed by
18손재민
Jul 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
플레이 가능할정도로 씬 변경,
코멘트 사라지는거 WIP
parent
fc192fef
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
295 additions
and
15 deletions
+295
-15
PlayStage.unity
Assets/Scenes/PlayStage.unity
+265
-15
SelectStage.unity
Assets/Scenes/SelectStage.unity
+20
-0
CommentUIGenerator.cs
Assets/Scripts/UIs/CommentUIGenerator.cs
+10
-0
No files found.
Assets/Scenes/PlayStage.unity
View file @
0d2d3d62
This diff is collapsed.
Click to expand it.
Assets/Scenes/SelectStage.unity
View file @
0d2d3d62
...
...
@@ -477,5 +477,25 @@ PrefabInstance:
propertyPath
:
m_Pivot.y
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6319119020849879011
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
m_Color.r
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6319119020849879011
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
m_Color.g
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6319119020849879011
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
m_Color.b
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6319119020849879011
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
propertyPath
:
m_Text
value
:
'
Stage
:
1'
objectReference
:
{
fileID
:
0
}
m_RemovedComponents
:
[]
m_SourcePrefab
:
{
fileID
:
100100000
,
guid
:
8115fd4d1a1025b4fb05e45fc5fa6578
,
type
:
3
}
Assets/Scripts/UIs/CommentUIGenerator.cs
View file @
0d2d3d62
...
...
@@ -10,12 +10,20 @@ public class CommentUIGenerator : MonoBehaviour
public
string
commentString
=
""
;
public
bool
isViewed
=
false
;
private
Coroutine
currentFadeOut
;
public
void
SetComment
(
string
commentStr
)
{
commentString
=
commentStr
;
comment
.
text
=
commentString
;
commentUI
.
SetActive
(
true
);
currentFadeOut
=
StartCoroutine
(
FadeOut
());
}
public
void
ViewComment
()
{
StopCoroutine
(
currentFadeOut
);
isViewed
=
true
;
}
IEnumerator
FadeOut
()
...
...
@@ -26,5 +34,7 @@ public class CommentUIGenerator : MonoBehaviour
{
yield
return
null
;
}
commentUI
.
SetActive
(
false
);
isViewed
=
true
;
}
}
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