Commit 70ae7f50 authored by 18류지석's avatar 18류지석

파킨- 파킨-

parent 74c65257
...@@ -88,7 +88,7 @@ public class Player : MonoBehaviour { ...@@ -88,7 +88,7 @@ public class Player : MonoBehaviour {
{ {
obj.SetActive(true); obj.SetActive(true);
obj.transform.localPosition = Vector3.zero; obj.transform.localPosition = Vector3.zero;
obj.GetComponent<Rigidbody2D>().velocity = Random.insideUnitCircle.normalized * 6f; obj.GetComponent<Rigidbody2D>().velocity = Random.insideUnitCircle.normalized * Random.Range(3f,7f);
} }
yield return new WaitForSeconds(3f); yield return new WaitForSeconds(3f);
GameManager.gameState = GameState.GameOver; GameManager.gameState = GameState.GameOver;
......
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