Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
ButtonPusher
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Button Pusher
ButtonPusher
Commits
f1259523
Commit
f1259523
authored
Aug 25, 2017
by
16서원빈
Committed by
Chae Ho Shin
Aug 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
264d73d3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
20 deletions
+14
-20
LMO.prefab
Assets/Resources/LMO.prefab
+3
-3
InGame.unity
Assets/Scene/InGame.unity
+0
-12
GameManager.cs
Assets/Script/GameManager.cs
+5
-0
JudgeManager.cs
Assets/Script/JudgeManager.cs
+3
-2
TrackInfo.cs
Assets/Script/TrackInfo.cs
+2
-2
Test.bpe
Assets/Tracks/Test/Test.bpe
+1
-1
No files found.
Assets/Resources/LMO.prefab
View file @
f1259523
...
...
@@ -90,7 +90,7 @@ MonoBehaviour:
m_Name
:
m_EditorClassIdentifier
:
m_Material
:
{
fileID
:
0
}
m_Color
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
m_Color
:
{
r
:
1
,
g
:
0
,
b
:
0
,
a
:
1
}
m_RaycastTarget
:
1
m_OnCullStateChanged
:
m_PersistentCalls
:
...
...
@@ -117,7 +117,7 @@ MonoBehaviour:
m_Name
:
m_EditorClassIdentifier
:
m_Material
:
{
fileID
:
0
}
m_Color
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
m_Color
:
{
r
:
1
,
g
:
0
,
b
:
0
,
a
:
1
}
m_RaycastTarget
:
1
m_OnCullStateChanged
:
m_PersistentCalls
:
...
...
@@ -144,7 +144,7 @@ MonoBehaviour:
m_Name
:
m_EditorClassIdentifier
:
m_Material
:
{
fileID
:
0
}
m_Color
:
{
r
:
1
,
g
:
1
,
b
:
1
,
a
:
1
}
m_Color
:
{
r
:
1
,
g
:
0
,
b
:
0
,
a
:
1
}
m_RaycastTarget
:
1
m_OnCullStateChanged
:
m_PersistentCalls
:
...
...
Assets/Scene/InGame.unity
View file @
f1259523
...
...
@@ -1191,7 +1191,6 @@ GameObject:
-
component
:
{
fileID
:
750753106
}
-
component
:
{
fileID
:
750753107
}
-
component
:
{
fileID
:
750753108
}
-
component
:
{
fileID
:
750753109
}
m_Layer
:
5
m_Name
:
Managers
m_TagString
:
Untagged
...
...
@@ -1273,17 +1272,6 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
397b5aecede4d754abd2fba781e08f97
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
---
!u!114
&750753109
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_PrefabParentObject
:
{
fileID
:
0
}
m_PrefabInternal
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
750753102
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
b74d6acc8a48e6f44af437ab64e0cf88
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
---
!u!1
&765048384
GameObject
:
m_ObjectHideFlags
:
0
...
...
Assets/Script/GameManager.cs
View file @
f1259523
...
...
@@ -13,6 +13,8 @@ public class GameManager : MonoBehaviour {
{
instance
=
FindObjectOfType
(
typeof
(
GameManager
))
as
GameManager
;
if
(
instance
==
null
)
instance
=
new
GameObject
().
AddComponent
<
GameManager
>();
instance
.
CurrentTrack
=
new
TrackInfo
(
"Assets/Tracks/Test/Test.bpe"
);
...
...
@@ -21,6 +23,9 @@ public class GameManager : MonoBehaviour {
return
instance
;
}
}
[
SerializeField
]
public
AudioSource
defaultSound
;
public
TrackInfo
CurrentTrack
{
get
;
set
;
}
...
...
Assets/Script/JudgeManager.cs
View file @
f1259523
...
...
@@ -78,7 +78,7 @@ public class JudgeManager : MonoBehaviour
else
motionGuage
.
GetComponent
<
Image
>().
fillAmount
=
elapsedMotion
/
motionTimeout
;
}
// Use this for initialization
void
Start
()
{
...
...
@@ -96,7 +96,8 @@ public class JudgeManager : MonoBehaviour
MotionGuageReset
();
LoadNotes
(
GameManager
.
Instance
.
CurrentTrack
.
Notes
);
Instantiate
(
GameManager
.
Instance
.
CurrentTrack
.
BGM
);
Instantiate
(
GameManager
.
Instance
.
defaultSound
);
}
// Update is called once per frame
...
...
Assets/Script/TrackInfo.cs
View file @
f1259523
...
...
@@ -12,7 +12,7 @@ public class TrackInfo
public
float
BPM
{
get
;
private
set
;
}
public
int
Level
{
get
;
private
set
;
}
public
Audio
Clip
BGM
{
get
;
private
set
;
}
public
Audio
Source
BGM
{
get
;
private
set
;
}
public
List
<
string
>
TrackList
{
get
;
private
set
;
}
...
...
@@ -71,7 +71,7 @@ public class TrackInfo
TrackList
.
Add
(
value
);
break
;
case
"#WAV"
:
BGM
=
new
WWW
(
"file:///"
+
file
.
DirectoryName
+
'\\'
+
value
).
GetAudioClip
()
;
BGM
=
Resources
.
Load
(
value
)
as
AudioSource
;
break
;
}
}
...
...
Assets/Tracks/Test/Test.bpe
View file @
f1259523
...
...
@@ -4,7 +4,7 @@
#BPM 128
#PLAYLEVEL 0
#WAV Test
.wav
#WAV Test
#TRACKLIST Something - Someone
#TRACKLIST Probably - Amumal
...
...
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