tanato
tanato
CC#
Created by tanato on 5/16/2023 in #help
❔ Easy problem C# Unity
Hello there, im trying on following a tutorial for my game but im stuck. the problem is that i want my npc to go on a particular node only if a door is open and goes back to another previous node if the door is closed. of course i know that this is just a simple question and i can do that by using bools and if statement but actually im very dumb at coding and ive already tryed but without succes and i need help to add this stuff to my preexisting code that i barely understand. DoorCode https://pastebin.com/7bQuR5yx NpcCode https://pastebin.com/p6zYY0ef NpcCodeEditor https://pastebin.com/9AmX5yQR
3 replies