Ejemplo n.º 1
0
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     rightPower    = e.Power;
     isTimerRunnig = true;
     isRightRep    = true;
     PunchPower    = rightPower;
 }
    private void RightRepHandler(object sender, RightRepEventArgs e)
    {
        if (GameObject.Find("Pimennys").GetComponent <DarknessScriptLabyrintti>().startGameTimer < 0)
        {
            isRightRep = true;

            if (movement)
            {
                return;
            }

            isTimerRunnig = true;
        }
    }
Ejemplo n.º 3
0
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     SceneManager.LoadScene(PlayerPrefs.GetString("LabyrinttiMode"));
 }
Ejemplo n.º 4
0
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     rigBdy.velocity = Vector2.zero;
     rigBdy.AddForce(Vector2.right * (this.forceOfMovement * 1) * Time.deltaTime);
 }
Ejemplo n.º 5
0
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     SceneManager.LoadScene("MainMenu");
 }
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     isTimerRunnig = true;
     isRightRep    = true;
     StartCoroutine(RightDelay());
 }
Ejemplo n.º 7
0
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     SceneManager.LoadScene("HyppyYlosMain");
 }
 private void RightRepHandler(object sender, RightRepEventArgs e)
 {
     SceneManager.LoadScene(PlayerPrefs.GetString("PreviousModeNyrkki"));
 }