Sound + somewhat game loop
This commit is contained in:
parent
29e5e48aee
commit
1d6a879755
33 changed files with 1572 additions and 595 deletions
|
@ -8,16 +8,15 @@ public class Crown : MonoBehaviour
|
|||
public event Action OnClicked;
|
||||
public bool crowned=false;
|
||||
[SerializeField] TextMeshProUGUI texte;
|
||||
|
||||
|
||||
[SerializeField] private Camera _camera;
|
||||
[SerializeField] private LayerMask placementLayer;
|
||||
|
||||
[SerializeField] private GameObject startButton;
|
||||
private Camera _camera;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
texte.enabled = false;
|
||||
_camera = Camera.main;
|
||||
}
|
||||
|
||||
public void StartCrown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue