This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
public class Music : MonoBehaviour | |
{ | |
public List<AudioSource> musicClips = new List<AudioSource>(); | |
public GameObject music1; | |
public GameObject music2; | |
public GameObject music3; | |
public Texture2D icon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using UnityEngine; | |
public class Note : MonoBehaviour | |
{ | |
private Texture pic1; | |
public GameObject panel; | |
private float open = 0f; | |
public bool toggleBool; | |
public GameObject player; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.SceneManagement; | |
public class Pancam : MonoBehaviour | |
{ | |
float ydir = 0f; | |
public GameObject player; | |
public GameObject player2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Pencilline : MonoBehaviour | |
{ | |
//public float explodeRadius = 1f; | |
//to refer to our prefab pencilline | |
public GameObject obj; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Diagnostics; | |
public class RobotController : MonoBehaviour | |
{ | |
//This will be our maximum speed as we will always be multiplying by 1 | |
public static float maxSpeed = 9f; | |
//a boolean value to represent whether we are facing left or not | |
bool facingLeft = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Diagnostics; | |
public class RobotController1 : MonoBehaviour | |
{ | |
//This will be our maximum speed as we will always be multiplying by 1 | |
public static float maxSpeed = 9f; | |
//a boolean value to represent whether we are facing left or not | |
bool facingLeft = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
using UnityEngine.SceneManagement; | |
public class SceneLoader : MonoBehaviour | |
{ | |
private bool loadScene = false; | |
public GUIElement gui; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using UnityEngine; | |
public class Shield : MonoBehaviour | |
{ | |
public GameObject player1; | |
public GameObject player2; | |
public GameObject shield; | |
private float wait = 0f; | |
public GameObject particle1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class SpikeBall : MonoBehaviour | |
{ | |
//a holder for our Animator | |
Animator anim; | |
//a public float for the explosion radius | |
private Vector2 movement; | |
private Rigidbody2D rigidbodyComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class SpecialEffectsHelper : MonoBehaviour | |
{ | |
public static SpecialEffectsHelper Instance; | |
public ParticleSystem smokeEffect; | |
public ParticleSystem fireEffect; |