View LightRotate
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 UnityEngine; | |
public class LightRotate : MonoBehaviour { | |
public float spinX = 0; | |
public float spinY = 0; | |
public float spinZ = 0; |
View SAudioManager
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.Audio; | |
using System; | |
using UnityEngine; | |
//Credit to Brackeys youtube tutorial on Audio managers, as the majority of this code and learning how to use it was made by him. | |
public partial class SAudioManager : MonoBehaviour | |
{ |
View PlayerCollision
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 UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.SceneManagement; | |
public class PlayerCollision : MonoBehaviour | |
{ | |
//Tags for each individual object | |
private bool photoPlay = false; |
View gist:c0ed24907cd92f551028c14650006800
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
/* | |
Code Development Team | |
DIGF 2005 - Atelier II | |
Professor Nick Puckett | |
Tuesday January 23, 2018 | |
NANO COMMUNICATION CODE | |
This code allows Nanos to read information from the serial port sent | |
from the control panel, and display corresponding images/animations on | |
the OLEDs. | |
THE CIRCUIT |
View gist:bfe3ac029dbd766d77608454cce6ed8c
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
/* | |
Code Development Team | |
DIGF 2005 - Atelier II | |
Professor Nick Puckett | |
Tuesday January 23, 2018 | |
NANO COMMUNICATION CODE | |
This code allows Nanos to read information from the serial port sent | |
from the control panel, and display corresponding images/animations on | |
the OLEDs. | |
THE CIRCUIT |