Example #1
0
    private void LeftRepHandler(object sender, LeftRepEventArgs e)
    {
        leftPower = e.Power;

        isTimerRunnig = true;
        isLeftRep     = true;
        PunchPower    = leftPower;
    }
    private void LeftRepHandler(object sender, LeftRepEventArgs e)
    {
        if (GameObject.Find("Pimennys").GetComponent <DarknessScriptLabyrintti>().startGameTimer < 0)
        {
            isLeftRep = true;

            if (movement)
            {
                return;
            }

            isTimerRunnig = true;
        }
    }
Example #3
0
 private void LeftRepHandler(object sender, LeftRepEventArgs e)
 {
     PlayerPrefs.SetInt("LabyrinttiLevel", 1);
     SceneManager.LoadScene("MainMenu");
 }
Example #4
0
 private void LeftRepHandler(object sender, LeftRepEventArgs e)
 {
     rigBdy.velocity = Vector2.zero;
     rigBdy.AddForce(Vector2.left * (this.forceOfMovement * 1) * Time.deltaTime);
 }
 private void LeftRepHandler(object sender, LeftRepEventArgs e)
 {
     SceneManager.LoadScene("MainMenu");
 }
 private void LeftRepHandler(object sender, LeftRepEventArgs e)
 {
     isTimerRunnig = true;
     isLeftRep     = true;
     StartCoroutine(LeftDelay());
 }