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 UnityEditor; | |
using UnityEngine; | |
using System.Collections; | |
using System.Linq; | |
public class TextureCruncher : EditorWindow | |
{ | |
#region Variables | |
int compressionQuality = 100; |
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 System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using Cinemachine; | |
public class CamControl : MonoBehaviour | |
{ | |
public List<CinemachineVirtualCamera> virtualCameras; |
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 BasicPositionReset : MonoBehaviour{ | |
public UnityEngine.Vector3 startPos ; | |
public UnityEngine.Quaternion startRotation ; | |
void Awake(){ | |
startPos = transform.position ; | |
startRotation = transform.rotation; |
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.Collections.Generic; | |
using System.Linq; | |
public class ColorChange : MonoBehaviour{ | |
public List<Color> colors ; | |
public int currentColor ; | |
public Renderer rend; | |
public bool eyeControl ; | |
void Awake() { |
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; | |
using UnityEngine; | |
public class TriggerMeshRenderOff : MonoBehaviour | |
{ | |
public AudioSource audioSource; | |
public AudioClip audioClip; | |
private void Awake() | |
{ |