private void StartGame() { Player.StartGame(); GameStarted = true; GridPlayground.ShowCells(); }
private void Start() { _tailParent = new GameObject("Tail Parent").GetComponent <Transform>(); _beatSource = GetComponent <AudioSource>(); _gridPlayground = FindObjectOfType <GridPlayground>(); Instantiate(SegmentPrefab, transform); _lastDirection = Vector3.right; }
private void Awake() { Instance = this; }