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