public void startGame() { minigame = new MingameBase(); //minigame.MyState = MiniGameState.NOTSTARTED; //circle.SetActive(true); Debug.Log(minigame.MyState); doSpook(); //incantation.SetActive(true); }
//public Text DisplayScore; #endregion #region unity methods // Start is called before the first frame update void Start() { minigame = new MingameBase(); //PipeMovementSpeed = Sins[0].GetComponent<PipeMovement>().speed; InitGame(); if (StartPos == null) { throw new System.NullReferenceException("StarPos not set"); } CreatePipes(); //StartSpawnPipes(); }
// Start is called before the first frame update void Start() { minigame = new MingameBase(); }
private void Start() { renderer = GetComponent <SpriteRenderer>(); mingame = new MingameBase(); }
public void Start() { hauntRadio = new MingameBase(); audioSource = GetComponent <AudioSource>(); instantiatedHandle = Instantiate(handle, spawnArea, Quaternion.identity); }