Commit 38fb1af7 authored by 16서원빈's avatar 16서원빈

InGame motion workaround

parent f9ca2ee7
fileFormatVersion: 2
guid: 4efccb64927c7ca42b4e8f01d7d25773
folderAsset: yes
timeCreated: 1502962628
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections.Generic;
using UnityEngine;
public class Clap : MotionNote
{
private static Sprite image = LoadNewSprite("");
public override Sprite Image
{
get
{
return image;
}
}
public Clap(string key, float timing) : base(timing)
{
}
public Clap(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;
}
}
fileFormatVersion: 2
guid: 1a97249d2381dcc4492c416a96fde813
timeCreated: 1502962628
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections.Generic;
using UnityEngine;
public class Guard : MotionNote
{
enum Hand { Both, Left, Right }
Hand hand;
private static Sprite image = LoadNewSprite("");
public override Sprite Image
{
get
{
return image;
}
}
public Guard(string key, float timing) : this(timing)
{
switch (key)
{
case "BG":
hand = Hand.Both;
break;
case "LG":
hand = Hand.Left;
break;
case "RG":
hand = Hand.Right;
break;
}
}
public Guard(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;
}
}
fileFormatVersion: 2
guid: 9335418863367cf4fb5c77889556b26a
timeCreated: 1503548782
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections.Generic;
using UnityEngine;
public class Jump : MotionNote
{
private static Sprite image = new Sprite();
public override Sprite Image
{
get
{
return image;
}
}
public Jump(string key, float timing) : this(timing)
{
}
public Jump(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;
}
}
fileFormatVersion: 2
guid: c1ef39503189a6f49958cb4ced65d75a
timeCreated: 1503548782
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections.Generic;
using UnityEngine;
public class Piano : MotionNote
{
enum Hand { Both, Left, Right }
Hand hand;
private static Sprite image = LoadNewSprite("");
public override Sprite Image
{
get
{
return image;
}
}
public Piano(string key, float timing) : this(timing)
{
switch (key)
{
case "BI":
hand = Hand.Both;
break;
case "LI":
hand = Hand.Left;
break;
case "RI":
hand = Hand.Right;
break;
}
}
public Piano(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;
}
}
fileFormatVersion: 2
guid: e943dcff2ea00af40acbfc09b7345f25
timeCreated: 1503548782
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections.Generic;
using UnityEngine;
public class PushUp : MotionNote
{
enum Hand { Both, Left, Right }
Hand hand;
private static Sprite image = LoadNewSprite("");
public override Sprite Image
{
get
{
return image;
}
}
public PushUp(string key, float timing) : this(timing)
{
switch (key)
{
case "BP":
hand = Hand.Both;
break;
case "LP":
hand = Hand.Left;
break;
case "RP":
hand = Hand.Right;
break;
}
}
public PushUp(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;
}
}
fileFormatVersion: 2
guid: 33c9b7e1abfa8fa4e82e1379082b890e
timeCreated: 1503548782
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -22,7 +22,7 @@ GameObject:
- component: {fileID: 222572614339470256}
- component: {fileID: 114048093616581902}
m_Layer: 5
m_Name: Beat Line
m_Name: BeatLine
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
......@@ -77,5 +77,5 @@ RectTransform:
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_SizeDelta: {x: 2, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
......@@ -19,6 +19,7 @@ GameObject:
serializedVersion: 5
m_Component:
- component: {fileID: 224168227853942078}
- component: {fileID: 222504913975343560}
m_Layer: 5
m_Name: LBT
m_TagString: Untagged
......@@ -170,6 +171,12 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1282829114055104}
--- !u!222 &222504913975343560
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1057440445156940}
--- !u!222 &222928888037685294
CanvasRenderer:
m_ObjectHideFlags: 1
......@@ -231,7 +238,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: 3, y: 0}
m_SizeDelta: {x: 4, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224219039990227194
RectTransform:
......
......@@ -54,7 +54,6 @@ GameObject:
m_Component:
- component: {fileID: 224011200304410306}
- component: {fileID: 222613705641654236}
- component: {fileID: 114973331513533902}
m_Layer: 5
m_Name: LMO
m_TagString: Untagged
......@@ -91,7 +90,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0.91764706, b: 1, a: 0.627451}
m_Color: {r: 1, g: 0, b: 0, a: 0.627451}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
......@@ -118,7 +117,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0.91764706, b: 1, a: 1}
m_Color: {r: 1, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
......@@ -145,33 +144,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0.91764706, b: 1, 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!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:
......@@ -230,7 +202,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: 3, y: 0}
m_SizeDelta: {x: 4, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224106473661142190
RectTransform:
......
......@@ -22,7 +22,7 @@ GameObject:
- component: {fileID: 222572614339470256}
- component: {fileID: 114048093616581902}
m_Layer: 5
m_Name: Measure Line
m_Name: MeasureLine
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
......@@ -77,5 +77,5 @@ RectTransform:
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_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
......@@ -77,5 +77,5 @@ RectTransform:
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_SizeDelta: {x: 4, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
......@@ -77,5 +77,5 @@ RectTransform:
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_SizeDelta: {x: 4, 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.37311953, g: 0.38074014, b: 0.3587274, a: 1}
m_IndirectSpecularColor: {r: 0.37311918, g: 0.3807398, b: 0.35872716, a: 1}
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
......@@ -2695,6 +2695,39 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1665813938}
--- !u!1 &1678606051
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1678606052}
m_Layer: 5
m_Name: SMobj
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1678606052
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1678606051}
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: 2001722607}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 1.5, y: 0}
m_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1001 &1785948954
Prefab:
m_ObjectHideFlags: 0
......@@ -3065,6 +3098,8 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 791052775}
- {fileID: 1678606052}
- {fileID: 2037066407}
m_Father: {fileID: 295245170}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -3073,6 +3108,39 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2037066406
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 2037066407}
m_Layer: 5
m_Name: LMobj
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2037066407
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2037066406}
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: 2001722607}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 1.5, y: 0}
m_SizeDelta: {x: 3, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!4 &2051586517 stripped
Transform:
m_PrefabParentObject: {fileID: 400004, guid: 4428a4d47b3582c4b90ee7163c0223da, type: 3}
......
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