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.SceneManagement; | |
public class SceneLoader : MonoBehaviour | |
{ | |
//this can be used to start the first level within your game (second scene in build settings) | |
public void StartLevel () |
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 Shake : MonoBehaviour | |
{ | |
public float shakeDuration = 0f; | |
public float shakeAmount = 0.7f; | |
public float decreaseFactor = 1.0f; | |
public bool soloStart; |