Commit 0acaeb94 authored by 16서원빈's avatar 16서원빈

Working InGame

parent 4b5563af
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1839526890916058}
m_IsPrefabParent: 1
--- !u!1 &1839526890916058
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 224491764761756372}
- component: {fileID: 222572614339470256}
- component: {fileID: 114048093616581902}
m_Layer: 5
m_Name: Beat Line
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &114048093616581902
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1839526890916058}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.627451}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &222572614339470256
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1839526890916058}
--- !u!224 &224491764761756372
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1839526890916058}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
fileFormatVersion: 2
guid: 4efccb64927c7ca42b4e8f01d7d25773
folderAsset: yes
timeCreated: 1502962628
guid: be34e1eacae80114c90c2aedee0d6408
timeCreated: 1503573417
licenseType: Free
DefaultImporter:
NativeFormatImporter:
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
......@@ -231,7 +231,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224219039990227194
RectTransform:
......
......@@ -53,6 +53,8 @@ GameObject:
serializedVersion: 5
m_Component:
- component: {fileID: 224011200304410306}
- component: {fileID: 222613705641654236}
- component: {fileID: 114973331513533902}
m_Layer: 5
m_Name: LMO
m_TagString: Untagged
......@@ -158,6 +160,33 @@ MonoBehaviour:
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &114973331513533902
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1869947549572880}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &222375019058029532
CanvasRenderer:
m_ObjectHideFlags: 1
......@@ -170,6 +199,12 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1422421716557948}
--- !u!222 &222613705641654236
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1869947549572880}
--- !u!222 &222950832735418152
CanvasRenderer:
m_ObjectHideFlags: 1
......@@ -195,7 +230,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224106473661142190
RectTransform:
......
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1839526890916058}
m_IsPrefabParent: 1
--- !u!1 &1839526890916058
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 224491764761756372}
- component: {fileID: 222572614339470256}
- component: {fileID: 114048093616581902}
m_Layer: 5
m_Name: Measure Line
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &114048093616581902
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1839526890916058}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.627451}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &222572614339470256
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1839526890916058}
--- !u!224 &224491764761756372
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1839526890916058}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 2, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
fileFormatVersion: 2
guid: 1a97249d2381dcc4492c416a96fde813
timeCreated: 1502962628
guid: 350ca22a121fc3b40947c48a2bedea2c
timeCreated: 1503573417
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
NativeFormatImporter:
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
......@@ -74,8 +74,8 @@ RectTransform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
......@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.45120597, g: 0.5009464, b: 0.5736766, a: 1}
m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
......@@ -112,6 +112,179 @@ NavMeshSettings:
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 818710484}
--- !u!1001 &39831962
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1279831700}
m_Modifications:
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!1 &132191032
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 100002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 132191034}
- component: {fileID: 132191033}
m_Layer: 0
m_Name: Stage lights_Red_2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!95 &132191033
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 132191032}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 7901e01eeb611ce47b387bfa95e84c65, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
--- !u!4 &132191034
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 400002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 132191032}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2.59, y: 3.5, z: -1.55}
m_LocalScale: {x: 120, y: 120, z: 120}
m_Children:
- {fileID: 1364026383}
- {fileID: 2106049031}
m_Father: {fileID: 0}
m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &134188430
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 134188431}
- component: {fileID: 134188432}
m_Layer: 0
m_Name: Spotlight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &134188431
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 134188430}
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0.0015000002, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1508129768}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!108 &134188432
Light:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 134188430}
m_Enabled: 1
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 0, b: 0, a: 1}
m_Intensity: 8
m_Range: 45
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_FalloffTable:
m_Table[0]: 0
m_Table[1]: 0
m_Table[2]: 0
m_Table[3]: 0
m_Table[4]: 0
m_Table[5]: 0
m_Table[6]: 0
m_Table[7]: 0
m_Table[8]: 0
m_Table[9]: 0
m_Table[10]: 0
m_Table[11]: 0
m_Table[12]: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1001 &182150003
Prefab:
m_ObjectHideFlags: 0
......@@ -149,7 +322,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: b4dcbb82eabe1024c83c2b003473455f, type: 3}
propertyPath: m_RootOrder
value: 1
value: 2
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: b4dcbb82eabe1024c83c2b003473455f, type: 3}
propertyPath: m_LocalScale.x
......@@ -166,6 +339,58 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: b4dcbb82eabe1024c83c2b003473455f, type: 3}
m_IsPrefabParent: 0
--- !u!1 &219569313
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 100002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 219569315}
- component: {fileID: 219569314}
m_Layer: 0
m_Name: Stage lights_Blue_2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!95 &219569314
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 219569313}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 5a9f47ee5120dd44cb24f6bdaa10143b, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
--- !u!4 &219569315
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 400002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 219569313}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 3.001, y: 3.5, z: -1.55}
m_LocalScale: {x: 120, y: 120, z: 120}
m_Children:
- {fileID: 626936879}
- {fileID: 723416358}
m_Father: {fileID: 0}
m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &239769315 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 39831962}
--- !u!1001 &273603638
Prefab:
m_ObjectHideFlags: 0
......@@ -367,6 +592,85 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_IsPrefabParent: 0
--- !u!1 &340973491
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 340973492}
- component: {fileID: 340973493}
m_Layer: 0
m_Name: Spotlight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &340973492
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 340973491}
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0.0015000002, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 626936879}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!108 &340973493
Light:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 340973491}
m_Enabled: 1
serializedVersion: 8
m_Type: 0
m_Color: {r: 0.43137255, g: 0.2509804, b: 1, a: 1}
m_Intensity: 10
m_Range: 40
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_FalloffTable:
m_Table[0]: 0
m_Table[1]: 0
m_Table[2]: 0
m_Table[3]: 0
m_Table[4]: 0
m_Table[5]: 0
m_Table[6]: 0
m_Table[7]: 0
m_Table[8]: 0
m_Table[9]: 0
m_Table[10]: 0
m_Table[11]: 0
m_Table[12]: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1001 &420057529
Prefab:
m_ObjectHideFlags: 0
......@@ -429,6 +733,10 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!4 &448881176 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_PrefabInternal: {fileID: 2097896204}
--- !u!1 &488112201
GameObject:
m_ObjectHideFlags: 0
......@@ -509,8 +817,12 @@ Transform:
m_LocalScale: {x: 20, y: 20, z: 0.5}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &521439118 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 1091521996}
--- !u!1 &554916356
GameObject:
m_ObjectHideFlags: 0
......@@ -533,7 +845,7 @@ Light:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 554916356}
m_Enabled: 1
m_Enabled: 0
serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
......@@ -588,21 +900,152 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 32.391003, y: -87.838005, z: -40.428}
--- !u!4 &608744046 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_PrefabInternal: {fileID: 1166755151}
--- !u!1001 &718308452
Prefab:
--- !u!4 &626936879 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_PrefabInternal: {fileID: 966813580}
--- !u!1 &660362294
GameObject:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1165916158}
m_Modifications:
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.x
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 660362295}
- component: {fileID: 660362296}
m_Layer: 0
m_Name: Spotlight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &660362295
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 660362294}
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0.0015000002, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 448881176}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!108 &660362296
Light:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 660362294}
m_Enabled: 1
serializedVersion: 8
m_Type: 0
m_Color: {r: 0.43103445, g: 0.25, b: 1, a: 1}
m_Intensity: 8
m_Range: 45
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_FalloffTable:
m_Table[0]: 0
m_Table[1]: 0
m_Table[2]: 0
m_Table[3]: 0
m_Table[4]: 0
m_Table[5]: 0
m_Table[6]: 0
m_Table[7]: 0
m_Table[8]: 0
m_Table[9]: 0
m_Table[10]: 0
m_Table[11]: 0
m_Table[12]: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1 &666101881
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 100002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 666101883}
- component: {fileID: 666101882}
m_Layer: 0
m_Name: Stage lights_Blue_1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!95 &666101882
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 666101881}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 94e41465899f4ae44b450bee689f3653, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
--- !u!4 &666101883
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 400002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 666101881}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -3.001, y: 3.5, z: -1.55}
m_LocalScale: {x: 120, y: 120, z: 120}
m_Children:
- {fileID: 448881176}
- {fileID: 521439118}
m_Father: {fileID: 0}
m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &718308452
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1165916158}
m_Modifications:
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
......@@ -652,6 +1095,10 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!4 &723416358 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 1090923881}
--- !u!1 &747402017
GameObject:
m_ObjectHideFlags: 0
......@@ -691,8 +1138,8 @@ Light:
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Range: 10
m_Intensity: 5
m_Range: 20
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
......@@ -913,7 +1360,7 @@ RectTransform:
- {fileID: 1073141667}
- {fileID: 1173591428}
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
......@@ -1014,6 +1461,88 @@ Prefab:
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!1001 &966813580
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 219569315}
m_Modifications:
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0025
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0.42261827
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 0.9063079
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
- target: {fileID: 400000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 50
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_IsPrefabParent: 0
--- !u!1 &1073141666
GameObject:
m_ObjectHideFlags: 0
......@@ -1047,9 +1576,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -50}
m_SizeDelta: {x: 0, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 150}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &1073141668
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -1083,34 +1612,126 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1073141666}
--- !u!4 &1140558141 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 420057529}
--- !u!1 &1152155866
GameObject:
--- !u!1001 &1090923881
Prefab:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1152155867}
- component: {fileID: 1152155869}
- component: {fileID: 1152155868}
m_Layer: 5
m_Name: Judge
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1152155867
RectTransform:
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 219569315}
m_Modifications:
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!1001 &1091521996
Prefab:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1152155866}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 666101883}
m_Modifications:
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!4 &1140558141 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 420057529}
--- !u!1 &1152155866
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1152155867}
- component: {fileID: 1152155869}
- component: {fileID: 1152155868}
m_Layer: 5
m_Name: Judge
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1152155867
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1152155866}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
......@@ -1174,7 +1795,7 @@ Transform:
- {fileID: 1466150136}
- {fileID: 1897314691}
m_Father: {fileID: 0}
m_RootOrder: 10
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1166755151
Prefab:
......@@ -1340,7 +1961,7 @@ Transform:
- {fileID: 608744046}
- {fileID: 37266108}
m_Father: {fileID: 0}
m_RootOrder: 9
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1199323771
GameObject:
......@@ -1381,8 +2002,8 @@ Light:
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Range: 10
m_Intensity: 5
m_Range: 20
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
......@@ -1508,7 +2129,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &1240269626
Transform:
......@@ -1523,8 +2144,56 @@ Transform:
- {fileID: 2051586517}
- {fileID: 1140558141}
m_Father: {fileID: 0}
m_RootOrder: 12
m_RootOrder: 13
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1279831699
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 100002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1279831700}
- component: {fileID: 1279831701}
m_Layer: 0
m_Name: Stage lights_Red_1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1279831700
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 400002, guid: 73ebec2c2a217454a8bb44a87a592d7a, type: 3}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1279831699}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -2.5899997, y: 3.5, z: -1.55}
m_LocalScale: {x: 120, y: 120, z: 120}
m_Children:
- {fileID: 1508129768}
- {fileID: 239769315}
m_Father: {fileID: 0}
m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &1279831701
Animator:
serializedVersion: 3
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1279831699}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 4fe8f9f433bf4ed49bb06a64886187af, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
--- !u!1 &1323358782
GameObject:
m_ObjectHideFlags: 0
......@@ -1564,8 +2233,8 @@ Light:
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Range: 10
m_Intensity: 5
m_Range: 20
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
......@@ -1619,6 +2288,10 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1364026383 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_PrefabInternal: {fileID: 1653337727}
--- !u!1 &1375175065
GameObject:
m_ObjectHideFlags: 0
......@@ -1658,8 +2331,8 @@ Light:
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Range: 10
m_Intensity: 5
m_Range: 20
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
......@@ -1777,7 +2450,7 @@ Transform:
- {fileID: 1473217368}
- {fileID: 1563659146}
m_Father: {fileID: 0}
m_RootOrder: 11
m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &1466150136 stripped
Transform:
......@@ -1802,6 +2475,10 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1508129768 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_PrefabInternal: {fileID: 1785948954}
--- !u!1 &1557556487
GameObject:
m_ObjectHideFlags: 0
......@@ -1862,12 +2539,94 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &1563659146 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 273603638}
--- !u!1001 &1653337727
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 132191034}
m_Modifications:
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0025
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0.42261827
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 0.9063079
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
- target: {fileID: 400000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 50
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_IsPrefabParent: 0
--- !u!1 &1665813938
GameObject:
m_ObjectHideFlags: 0
......@@ -1936,6 +2695,88 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1665813938}
--- !u!1001 &1785948954
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1279831700}
m_Modifications:
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0025
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0.42261827
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 0.9063079
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
- target: {fileID: 400000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 50
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_IsPrefabParent: 0
--- !u!1 &1843623467
GameObject:
m_ObjectHideFlags: 0
......@@ -2016,7 +2857,7 @@ Transform:
m_LocalScale: {x: 20, y: 3.5, z: 10}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1862075288
GameObject:
......@@ -2098,7 +2939,7 @@ Transform:
m_LocalScale: {x: 3.5, y: 1.2, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1870548421
GameObject:
......@@ -2119,6 +2960,85 @@ GameObject:
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 718308452}
--- !u!1 &1919972957
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1919972958}
- component: {fileID: 1919972959}
m_Layer: 0
m_Name: Spotlight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1919972958
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1919972957}
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0.0015000002, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1364026383}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!108 &1919972959
Light:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1919972957}
m_Enabled: 1
serializedVersion: 8
m_Type: 0
m_Color: {r: 1, g: 0, b: 0, a: 1}
m_Intensity: 10
m_Range: 40
m_SpotAngle: 60
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 4
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_FalloffTable:
m_Table[0]: 0
m_Table[1]: 0
m_Table[2]: 0
m_Table[3]: 0
m_Table[4]: 0
m_Table[5]: 0
m_Table[6]: 0
m_Table[7]: 0
m_Table[8]: 0
m_Table[9]: 0
m_Table[10]: 0
m_Table[11]: 0
m_Table[12]: 0
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1 &2001722606
GameObject:
m_ObjectHideFlags: 0
......@@ -2157,6 +3077,52 @@ RectTransform:
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_PrefabInternal: {fileID: 303941254}
--- !u!1001 &2059338810
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 132191034}
m_Modifications:
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_IsPrefabParent: 0
--- !u!1 &2093461952
GameObject:
m_ObjectHideFlags: 0
......@@ -2245,7 +3211,7 @@ Transform:
m_LocalScale: {x: 0.5942318, y: 0.74278957, z: 0.33425528}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 13
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!114 &2093461959
MonoBehaviour:
......@@ -2259,6 +3225,92 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
CoordinateMapperManager: {fileID: 750753102}
--- !u!1001 &2097896204
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 666101883}
m_Modifications:
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0.0025
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0.42261827
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 0.9063079
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2300000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 4cc65ac22f081ed48a225628177f2c6c, type: 2}
- target: {fileID: 400000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 50
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
m_IsPrefabParent: 0
--- !u!4 &2106049031 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: d85e6dba63814024ca138291c3375ef3, type: 3}
m_PrefabInternal: {fileID: 2059338810}
--- !u!1001 &2139182708
Prefab:
m_ObjectHideFlags: 0
......
......@@ -24,7 +24,8 @@ public class JudgeManager : MonoBehaviour
float latency = 225f;
float scrollMultiplier = 1.0f;
private GameObject offset, noteobj;
private GameObject offset;
private GameObject noteobj, smobj, lmobj;
private GameObject motionGuage;
private GameObject judgeText;
......@@ -53,6 +54,8 @@ public class JudgeManager : MonoBehaviour
{
offset = GameObject.Find("Offset");
noteobj = GameObject.Find("Noteobj");
smobj = GameObject.Find("SMobj");
lmobj = GameObject.Find("LMobj");
judgeText = GameObject.Find("Judge");
motionGuage = GameObject.Find("Motion Guage");
......@@ -72,66 +75,92 @@ public class JudgeManager : MonoBehaviour
offset.transform.position = new Vector3(
-timing * ScrollSpeed, 0, 0);
if (noteobj.transform.childCount <= 0)
return;
GameObject obj = noteobj.transform.GetChild(0).gameObject;
Note note = obj.GetComponent<Note.Controller>().Instance;
if (note.IsLong && note.Activated)
new Action(() =>
{
if (InputManager.Instance.IsButtonHolding)
if (noteobj.transform.childCount <= 0)
return;
GameObject obj = noteobj.transform.GetChild(0).gameObject;
Note note = obj.GetComponent<Note.Controller>().Instance;
if (note.IsLong && note.Activated)
{
if(Judge.IsNonEmptyMiss(note, timing, true))
if (InputManager.Instance.IsButtonHolding)
{
SetJudge(Judge.MISS);
if (Judge.IsNonEmptyMiss(note, timing, true))
{
SetJudge(Judge.MISS);
DeactivateNote(note);
}
return;
}
if (InputManager.Instance.IsButtonReleased)
{
SetJudge(Judge.TestJudge(note, timing, true));
DeactivateNote(note);
return;
}
return;
}
if (InputManager.Instance.IsButtonReleased)
Judge judge = Judge.TestJudge(note, timing);
if (Judge.IsNonEmptyMiss(note, timing))
{
SetJudge(Judge.TestJudge(note, timing, true));
SetJudge(judge);
DeactivateNote(note);
return;
}
}
if (note is MotionNote)
if (InputManager.Instance.IsButtonPressed)
{
SetJudge(judge);
if (judge == Judge.MISS) // Empty Miss
{
return;
}
if (note.IsLong)
note.Activated = true;
else
DeactivateNote(note);
}
})();
new Action(() =>
{
((MotionNote)note).Checkpoint();
if (smobj.transform.childCount <= 0)
return;
GameObject smo = smobj.transform.GetChild(0).gameObject;
MotionNote smnote = (MotionNote)smo.GetComponent<Note.Controller>().Instance;
if (note.Activated)
smnote.Checkpoint();
if (smnote.Activated)
{
SetJudge(Judge.TestJudge(note, timing));
DeactivateNote(note);
SetJudge(Judge.TestJudge(smnote, timing));
DeactivateNote(smnote);
}
})();
return;
}
new Action(() =>
{
if (lmobj.transform.childCount <= 0)
return;
Judge judge = Judge.TestJudge(note, timing);
GameObject lmo = lmobj.transform.GetChild(0).gameObject;
MotionNote lmnote = (MotionNote)lmo.GetComponent<Note.Controller>().Instance;
if (Judge.IsNonEmptyMiss(note, timing))
{
SetJudge(judge);
DeactivateNote(note);
}
lmnote.Checkpoint();
if (InputManager.Instance.IsButtonPressed)
{
SetJudge(judge);
if (judge == Judge.MISS) // Empty Miss
if (lmnote.Activated)
{
return;
SetJudge(Judge.TestJudge(lmnote, timing));
DeactivateNote(lmnote);
}
if (note.IsLong)
note.Activated = true;
else
DeactivateNote(note);
}
return;
})();
}
private void DeactivateNote(Note note)
......@@ -141,13 +170,13 @@ public class JudgeManager : MonoBehaviour
note.Component.Deactivate();
}
private void SetJudge(Judge judge)
private void SetJudge(Judge judge, bool isMotion = false)
{
if (!judge.IsBreak)
GameManager.Instance.Combo++;
GameManager.Instance.Score += judge.Score;
Debug.Log(judge.Name);
Debug.Log(judge.Name + (isMotion ? " Motion" : " Note"));
judgeText.SetActive(true);
judgeText.GetComponent<Text>().text = judge.Name;
......@@ -156,12 +185,20 @@ public class JudgeManager : MonoBehaviour
private void LoadNotes(List<Note> notes)
{
foreach (Note note in notes) {
foreach (Note note in notes)
{
GameObject obj = Instantiate(
Resources.Load(note.Type.ToString(), typeof(GameObject)),
noteobj.transform)
as GameObject;
if (note is MotionNote && !note.IsLong)
obj.transform.SetParent(smobj.transform);
else if (note is MotionNote && note.IsLong)
obj.transform.SetParent(lmobj.transform);
else if (note.Type == NoteType.MeasureLine || note.Type == NoteType.BeatLine)
obj.transform.SetParent(offset.transform);
if (note.IsLong)
{
float length = note.Length * ScrollSpeed;
......
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public abstract class MotionNote : Note
{
public MotionNote(float start, float end = 0f) : base(start, end) {}
public abstract Sprite Image { get; }
public MotionNote(float start, float end = 0f)
: base(start == end ? NoteType.SMO : NoteType.LMO, start, end) { }
public MotionNote(string key, float start, float end = 0f)
: this(start, end) { }
public abstract IEnumerable<bool> Checkpoint();
public static readonly Dictionary<string, Type> keymap
= new Dictionary<string, Type>
{
{ "CP", typeof(Clap) },
{ "JP", typeof(Jump) },
{ "BP", typeof(PushUp) },
{ "LP", typeof(PushUp) },
{ "RP", typeof(PushUp) },
{ "BI", typeof(Piano) },
{ "LI", typeof(Piano) },
{ "RI", typeof(Piano) },
{ "BG", typeof(Guard) },
{ "LG", typeof(Guard) },
{ "RG", typeof(Guard) },
};
protected static Sprite LoadNewSprite(string FilePath, float PixelsPerUnit = 100.0f)
{
Sprite NewSprite = new Sprite();
Texture2D SpriteTexture = LoadTexture(FilePath);
NewSprite = Sprite.Create(SpriteTexture,
new Rect(0, 0, SpriteTexture.width, SpriteTexture.height),
new Vector2(0, 0), PixelsPerUnit);
return NewSprite;
}
private static Texture2D LoadTexture(string FilePath)
{
Texture2D Tex2D;
byte[] FileData;
if (File.Exists(FilePath))
{
FileData = File.ReadAllBytes(FilePath);
Tex2D = new Texture2D(2, 2);
if (Tex2D.LoadImage(FileData))
return Tex2D;
}
return null;
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
public class ClapNote : MotionNote
{
public ClapNote(float timing) : base(timing) {
}
public override IEnumerable<bool> Checkpoint()
{
var motionState = InputManager.Instance.CurrentMotionState;
var motion = motionState;
while (motion != MotionState.CLAP_PREPARE)
yield return false;
Activated = true;
yield break;
}
}
......@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public enum NoteType { SBT, LBT, SMO, LMO }
public enum NoteType { SBT, LBT, SMO, LMO, BeatLine, MeasureLine }
public class Note
{
......
......@@ -69,7 +69,10 @@ public class TrackInfo
public List<Note> ParseBPENote(FileInfo file)
{
List<Note> notes = new List<Note>();
float? tempLongStart = null;
float? tempLongBtnStart = null;
float? tempLongMtnStart = null;
int maxMeasure = 0;
using (StreamReader reader
= new StreamReader(new BufferedStream(file.OpenRead())))
......@@ -97,42 +100,74 @@ public class TrackInfo
if (Array.FindIndex(CHANNELS, x => x == channel) == -1)
continue;
if (measure > maxMeasure)
maxMeasure = measure;
int seq = value.Length / 2;
float ms = 4 * 60 * 1000f / BPM;
for (int i = 0; i < seq; i++)
{
string key = value.Substring(i * 2, 2);
string key = value.Substring(i* 2, 2);
if (key == "00")
continue;
float timing = (measure + (float)i / seq) * ms;
if (channel == "SMO")
{
notes.Add(new ClapNote(timing));
}
else if (channel[0] == 'S')
if (channel == "SBT")
{
notes.Add(new Note(key, channel, timing));
}
else if (channel[0] == 'L')
else if (channel == "LBT")
{
if (tempLongStart == null)
if (tempLongBtnStart == null)
{
tempLongStart = timing;
tempLongBtnStart = timing;
continue;
}
float start = tempLongStart.Value;
float start = tempLongBtnStart.Value;
notes.Add(new Note(key, channel, start, timing));
tempLongStart = null;
tempLongBtnStart = null;
}
Type motionType;
if (!MotionNote.keymap.TryGetValue(key, out motionType))
continue;
if (channel == "SMO")
{
notes.Add((MotionNote)Activator.CreateInstance(
motionType, key, timing));
}
else if (channel == "LMO")
{
if (tempLongMtnStart == null)
{
tempLongMtnStart = timing;
continue;
}
float start = tempLongMtnStart.Value;
notes.Add((MotionNote)Activator.CreateInstance(
motionType, key, start, timing));
tempLongMtnStart = null;
}
}
}
}
for(int i = 0; i <= maxMeasure; i++)
{
for(int j = 1; j < 4; j++)
{
notes.Add(new Note(NoteType.BeatLine, (i + (float)j / 4) * 4 * 60 * 1000f / BPM));
}
notes.Add(new Note(NoteType.BeatLine, (i + 1) * 4 * 60 * 1000f / BPM));
}
return notes;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment