Ooohhh i'm so hyped, can't wait to watch that! Edit : That was an awesome tutorial !, can't wait to see the next episode now :)
@GekkoGang Жыл бұрын
Keep going 👍
@manusiaberuntung891 Жыл бұрын
great content man, im still waiting for the advanced fps tutorial to come
@GekkoGang Жыл бұрын
Make a video on advanced horror game ai
@user1productions883 Жыл бұрын
Hopefully coming out today ! “Slender man AI”
@GekkoGang Жыл бұрын
Next episode please bring fast
@qwerty1332 Жыл бұрын
Ur u still gonna use unity despite the scandal?
@ilypavan Жыл бұрын
🦧
@yourlocalmdfan3 Жыл бұрын
Hi.. uhh I'm making an horror game and the Batteries won't work when I try to pick them up! And I can't use discord >m< When I try picking them up it fails because for some reason it won't add batteries... The Script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class BatteryPickUp : MonoBehaviour { private bool inReach; public GameObject pickUpText; private GameObject flashlight; public AudioSource pickUpSound; void Start() { inReach = false; pickUpText.SetActive(false); flashlight = GameObject.Find("flashlight"); } void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Reach") { inReach = true; pickUpText.SetActive(true); } } void OnTriggerExit(Collider other) { if (other.gameObject.tag == "Reach") { inReach = false; pickUpText.SetActive(false); } } void Update() { if (Input.GetButtonDown("Interact") && inReach) { flashlight.GetComponent().batteries = +1; pickUpSound.Play(); inReach = false; pickUpText.SetActive(false); Destroy(gameObject); } } }