Skip to content

Instantly share code, notes, and snippets.

View deadasadodo's full-sized avatar

deadasadodo

View GitHub Profile
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;
//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)
{
//some code by callum bailey/deadasadodo101
using System;
using UnityEngine;
public class walk : MonoBehaviour
{
//Assingables
public Transform playerCam;
public Transform orientation;
//by callum
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class next : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{