|
|
@ -172,7 +172,7 @@ public class playerController : MonoBehaviour { |
|
|
|
if(deathTimer <=0) |
|
|
|
{ |
|
|
|
//gameObject.active = true;
|
|
|
|
|
|
|
|
transform.position = new Vector3 (0,30,0); |
|
|
|
Instantiate (newCandy, transform.position + Vector3.up, transform.rotation); |
|
|
|
Vector3 spawnPos = new Vector3 (Random.Range (-20.0f, 20.0f), 15.0f, 0); //picks random position
|
|
|
|
health = 3; //resets life
|
|
|
|