Exemple #1
0
 public void startGame()
 {
     minigame = new MingameBase();
     //minigame.MyState = MiniGameState.NOTSTARTED;
     //circle.SetActive(true);
     Debug.Log(minigame.MyState);
     doSpook();
     //incantation.SetActive(true);
 }
Exemple #2
0
        //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();
        }
Exemple #3
0
 // Start is called before the first frame update
 void Start()
 {
     minigame = new MingameBase();
 }
Exemple #4
0
 private void Start()
 {
     renderer = GetComponent <SpriteRenderer>();
     mingame  = new MingameBase();
 }
Exemple #5
0
 public void Start()
 {
     hauntRadio         = new MingameBase();
     audioSource        = GetComponent <AudioSource>();
     instantiatedHandle = Instantiate(handle, spawnArea, Quaternion.identity);
 }