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
//by callum | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
public class next : MonoBehaviour | |
{ | |
private void OnTriggerEnter(Collider other) | |
{ |
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
//some code by callum bailey/deadasadodo101 | |
using System; | |
using UnityEngine; | |
public class walk : MonoBehaviour | |
{ | |
//Assingables | |
public Transform playerCam; | |
public Transform orientation; |
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
//list you player as player and list the cube you whant to teleport with is trigger | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
public class next : MonoBehaviour | |
{ | |
private void OnTriggerEnter(Collider other) | |
{ |
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; | |
public class AIController : MonoBehaviour | |
{ | |
public Transform Player; | |
int MoveSpeed = 4; | |
int MaxDist = 10; |
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 NewBehaviourScript : MonoBehaviour | |
{ | |
public bool isFlickering = false; | |
public float TimeDelay; | |
void Update() | |
{ |
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
void Start () { | |
StartCoroutine (loadSceneAfterDelay(30)); | |
} | |
IEnumerator loadSceneAfterDelay(float waitbySecs){ | |
yield return new WaitForSeconds(waitbySecs); | |
Application.LoadLevel (2); |
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 movebackground : MonoBehaviour | |
{ | |
private Renderer renderer; | |
public float scrollSpeed = .1f; | |
void Start() |
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
# Program make a simple calculator | |
# This function adds two numbers | |
def add(x, y): | |
return x + y | |
# This function subtracts two numbers | |
def subtract(x, y): | |
return x - y |
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
//made by deadasadodo101 | |
using UnityEngine; | |
[RequireComponent(typeof(CharacterController))] | |
public class SC_HeadBobber : MonoBehaviour | |
{ | |
public float speed = 7.5f; | |
public float jumpSpeed = 8.0f; | |
public float gravity = 20.0f; |
OlderNewer