Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class Countdown : MonoBehaviour
{
public GameObject ball;
public GameObject Canvas;
public GameObject Panel;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Volume : MonoBehaviour
{
public Slider volumeSlider;
public AudioSource volumeAudio;
float timeLeft = 30.0f;
void Update()
{
timeLeft -= Time.deltaTime;
if(timeLeft < 0)
{
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour
{
public Countdown count;
public GameObject myPrefab;
public float thrust;
public Rigidbody rb;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Blocks : MonoBehaviour {
public float thrust;
public Rigidbody rbB;
public GameObject myPrefab;
public Material Mat;
public Material[] randomMaterials;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class Countdown : MonoBehaviour
{
public GameObject Canvas;
public GameObject Panel;
public GameObject SecretPanel;
public class Blocks : MonoBehaviour {
public float thrust;
public Rigidbody rbB;
public GameObject myPrefab;
public Material Mat;
public Material[] randomMaterials;
public Transform dropPoint;
float x;
float z;