Crown Placement and Start of Game
Lisez pas mes commits svp T_T
This commit is contained in:
parent
c2af70eeb4
commit
e805b7eb9c
13 changed files with 4399 additions and 3688 deletions
17
Assets/Scripts/StartGame.cs
Normal file
17
Assets/Scripts/StartGame.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class StartGame : MonoBehaviour
|
||||
{
|
||||
|
||||
[SerializeField] GameObject ShopUI;
|
||||
[SerializeField] GameObject GameUI;
|
||||
|
||||
public void Starting()
|
||||
{
|
||||
GameManager.Instance.StartFightForAll();
|
||||
GameUI.SetActive(true);
|
||||
GameUI.GetComponent<GameUI>().timerActive = true;
|
||||
ShopUI.SetActive(false);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue