This file contains hidden or 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 Underwater : MonoBehaviour { | |
//This script enables underwater effects. Attach to main camera. | |
//Define variable | |
public int underwaterLevel = 7; | |
This file contains hidden or 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; | |
/// <summary> | |
/// PlayFM | |
/// DoFAutofocus.cs | |
/// | |
/// HIGH Quality checks every Frame | |
/// NORMAL Quality in Fixed Update |
This file contains hidden or 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 windController : MonoBehaviour { | |
//TODO | |
//1) Inwards / Outwards Direction | |
float t; | |
int direction = 1; //Direction of rotation the wind object makes |
NewerOlder