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