Commit 8de190a3 authored by 18류지석's avatar 18류지석

생명석 안흔들리는거 고침. 조그마한 버그 수정

parent 2664fff9
...@@ -69,6 +69,7 @@ MonoBehaviour: ...@@ -69,6 +69,7 @@ MonoBehaviour:
vibrationVariable: 0.1 vibrationVariable: 0.1
droppedLifeStonePrefab: {fileID: 1149595688849768, guid: 8255a117a93935941b32b4aed9b299a0, droppedLifeStonePrefab: {fileID: 1149595688849768, guid: 8255a117a93935941b32b4aed9b299a0,
type: 2} type: 2}
lifeStoneUI: {fileID: 0}
frameBorder: 0.2 frameBorder: 0.2
popoutStrengthMultiplier: 9 popoutStrengthMultiplier: 9
popoutTime: 0.1 popoutTime: 0.1
...@@ -97,8 +97,12 @@ public class PlayerAttack : MonoBehaviour { ...@@ -97,8 +97,12 @@ public class PlayerAttack : MonoBehaviour {
} }
IEnumerator ComboTextReset() IEnumerator ComboTextReset()
{ {
yield return new WaitForSeconds(1.5f); for(float timer = 0f; timer < 1.5f; timer += Time.deltaTime)
if(comboArray.Equals("")) {
yield return null;
if (playingSkill) break;
}
if(comboArray.Equals("") && !playingSkill)
SetComboText(); SetComboText();
} }
IEnumerator SkillEndCoroutine() IEnumerator SkillEndCoroutine()
......
...@@ -55,13 +55,15 @@ public class LifeStoneManager : Singleton<LifeStoneManager> { ...@@ -55,13 +55,15 @@ public class LifeStoneManager : Singleton<LifeStoneManager> {
public GameObject droppedLifeStonePrefab; public GameObject droppedLifeStonePrefab;
public GameObject lifeStoneUI;
public float frameBorder; public float frameBorder;
public float popoutStrengthMultiplier; public float popoutStrengthMultiplier;
public float popoutTime; public float popoutTime;
void Start () { void Start () {
transform.position = new Vector3(lifeStoneLocation.x, lifeStoneLocation.y, 0); lifeStoneUI.transform.position = new Vector3(lifeStoneLocation.x, lifeStoneLocation.y, 0);
frameSuper.GetComponent<LifeStoneFrame>().Init(frameSuper.transform, standardImage, lifeStoneRowNum, lifeStoneSize, sprites, frameBorder); frameSuper.GetComponent<LifeStoneFrame>().Init(frameSuper.transform, standardImage, lifeStoneRowNum, lifeStoneSize, sprites, frameBorder);
lifeStoneArray = new int[50, 3]; lifeStoneArray = new int[50, 3];
lifeStoneUnit = new GameObject[50, 3]; lifeStoneUnit = new GameObject[50, 3];
...@@ -588,10 +590,10 @@ public class LifeStoneManager : Singleton<LifeStoneManager> { ...@@ -588,10 +590,10 @@ public class LifeStoneManager : Singleton<LifeStoneManager> {
while(vibration > lifeStoneSize * 0.005f) while(vibration > lifeStoneSize * 0.005f)
{ {
Vector2 tmpVector = Random.insideUnitCircle; Vector2 tmpVector = Random.insideUnitCircle;
transform.position = new Vector3(lifeStoneLocation.x + tmpVector.x * vibration * 0.3f, lifeStoneLocation.y + tmpVector.y * vibration, 0); lifeStoneUI.transform.position = new Vector3(lifeStoneLocation.x + tmpVector.x * vibration * 0.3f, lifeStoneLocation.y + tmpVector.y * vibration, 0);
vibration *= 0.8f; vibration *= 0.8f;
yield return null; yield return null;
} }
transform.position = new Vector3(lifeStoneLocation.x, lifeStoneLocation.y, 0); lifeStoneUI.transform.position = new Vector3(lifeStoneLocation.x, lifeStoneLocation.y, 0);
} }
} }
...@@ -51,6 +51,12 @@ TagManager: ...@@ -51,6 +51,12 @@ TagManager:
- name: UI - name: UI
uniqueID: 4254909397 uniqueID: 4254909397
locked: 0 locked: 0
- name: ItemHighlight
uniqueID: 996861525
locked: 0
- name: Item
uniqueID: 2145601713
locked: 0
- name: Wall - name: Wall
uniqueID: 3278214247 uniqueID: 3278214247
locked: 0 locked: 0
...@@ -69,12 +75,6 @@ TagManager: ...@@ -69,12 +75,6 @@ TagManager:
- name: Spike - name: Spike
uniqueID: 3612720217 uniqueID: 3612720217
locked: 0 locked: 0
- name: ItemHighlight
uniqueID: 996861525
locked: 0
- name: Item
uniqueID: 2145601713
locked: 0
- name: Door - name: Door
uniqueID: 343148499 uniqueID: 343148499
locked: 0 locked: 0
......
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