失敗UI非表示
This commit is contained in:
parent
28a93c1835
commit
933bed56f1
|
|
@ -14374,6 +14374,11 @@ PrefabInstance:
|
|||
propertyPath: m_Name
|
||||
value: FailurecMeter
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8509883327782918161, guid: 1a47fa9bdeb434bffa410f731816203f,
|
||||
type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8509883327795984539, guid: 1a47fa9bdeb434bffa410f731816203f,
|
||||
type: 3}
|
||||
propertyPath: m_FillAmount
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
missGauge: {fileID: 8509883327795984539}
|
||||
minValue: 0.08
|
||||
--- !u!1 &8509883327795984517
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -121,7 +120,7 @@ MonoBehaviour:
|
|||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 1
|
||||
m_FillAmount: 0.27
|
||||
m_FillAmount: 0.08
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
|
|
@ -222,7 +221,7 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastTarget: 0
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
|
|
|
|||
|
|
@ -177,14 +177,12 @@ public class CornManager : MonoBehaviour
|
|||
case CornCondition.Burnt:
|
||||
// ミス数加算
|
||||
missCount.Value++;
|
||||
SpawnMissAnimation(condition.Current);
|
||||
break;
|
||||
case CornCondition.Spilled:
|
||||
if (condition.Previous != CornCondition.Burnt)
|
||||
{
|
||||
// ミス数加算
|
||||
missCount.Value++;
|
||||
SpawnMissAnimation(condition.Current);
|
||||
}
|
||||
// 同時に飛び出したとき用に演出をばらつかせる
|
||||
corn.CallWaitForSeconds(Random.Range(0f, .5f), () => cornSpilledSubject.OnNext(condition.Previous));
|
||||
|
|
|
|||
Loading…
Reference in New Issue