fix addTime function
This commit is contained in:
parent
fa6e9241ac
commit
21b2a2c74c
@ -150,7 +150,7 @@ IEnumerator spawnMobsCourutine()
|
|||||||
|
|
||||||
public void DeathGoToPull(GameObject mob, float addedTime)
|
public void DeathGoToPull(GameObject mob, float addedTime)
|
||||||
{
|
{
|
||||||
gamePlay.AddTime(addedTime);
|
gamePlay.SendMessage("AddTime", addedTime);
|
||||||
mob.SetActive(false);
|
mob.SetActive(false);
|
||||||
mob.transform.parent = mobPull.transform;
|
mob.transform.parent = mobPull.transform;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user