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 TMPro; | |
using System; | |
using Microsoft.Unity.VisualStudio.Editor; | |
using UnityEngine.UI; | |
using UnityEngine.Events; | |
public class CountdownTimer : MonoBehaviour | |
{ | |
private int V = 1; |
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
private static PlankController _instance; | |
public static PlankController Instance{ | |
get{ | |
if (_instance == null) | |
{ | |
Debug.LogError(" is null"); | |
} | |
return _instance; | |
} |
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 System.Collections; | Probably not needed | |
//using System.Collections.Generic; | Probably not needed | |
//using UnityEditor; | Probably not needed | |
using UnityEngine; | |
public class Notify : MonoBehaviour | |
{ | |
private string title = "Ballsack is warmed"; | |
private string content = "Do your 20 push-ups for today!"; |
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
public CapsuleCollider characterCollider; | |
public float characterColliderStartHeight; | |
public float characterColliderEndHeight; | |
public float colliderTransformTime; | |
private void Start() { | |
myRB = this.GetComponent<Rigidbody>() as Rigidbody; | |
characterCollider = this.GetComponent("Collider") as CapsuleCollider; | |
characterColliderStartHeight = characterCollider.height; | |
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 GunFollow: MonoBehaviour { | |
public GameObject objectToSpawn; | |
public Transform gun; | |
public Transform cam; |
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 Move : MonoBehaviour { | |
public bool xAxis; | |
public bool yAxis; | |
public bool zAxis; |