virendrabhoriwal

Water Ring Toss

Water Ring Toss Unity

Screenshots

Water Ring Toss Unity
Water Ring Toss Unity
Water Ring Toss Unity
Water Ring Toss Unity
Water Ring Toss Unity
Water Ring Toss Unity

Specification

How to Use

Sample Code

if(levelCompleted) { rigidbodyList[0].isKinematic = true; rigidbodyList[1].isKinematic = true; rigidbodyList[2].isKinematic = true; rigidbodyList[3].isKinematic = true; rigidbodyList[4].isKinematic = true; levelCompletedScreen.SetActive (true); if(gameTime >= 50 && gameTime < 90) { LevelManagerScript.level2rating = 3; PlayerPrefs.SetInt ("level2rating",LevelManagerScript.level2rating); StartCoroutine ("threestarrating"); } if(gameTime >= 30 && gameTime < 50) { LevelManagerScript.level2rating = 2; PlayerPrefs.SetInt ("level2rating",LevelManagerScript.level2rating); StartCoroutine ("twostarrating"); } if(gameTime > 0 && gameTime < 30) { LevelManagerScript.level2rating = 1; PlayerPrefs.SetInt ("level2rating",LevelManagerScript.level2rating); StartCoroutine ("onestarrating"); } if(Application.loadedLevelName == "Level2") { LevelManagerScript.padlock3 = 1; // 1 means UNLOCK PlayerPrefs.SetInt ("padlock3",LevelManagerScript.padlock3); } levelCompleted = false; stopTimer = true; }

Video

Comments (0)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}