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