In my level,i have a trigger which i just took out the mesh filter so the character can go into/through it while “on” a platform. I have a text on front of it so when the character lands on it, the text shows. I have no idea how to make a thing like triggerbox activate the text, can I get some insight on it?
thanks,
steel
Earlier today, I told myself I was just going to ignore future posts by you. But before I do that, I wanted to offer one last bit of advice, which I honestly think will help you out. This is not intended to be an attack, but rather something I think you need to hear.
You are a very unrewarding person to assist. You’ve got 6 threads going now with vague questions about fairly basic topics. Only in one of those did you thank someone assisting you (me, actually!) which isn’t a required thing, but it’s a nice gesture for the people donating their time to help you.
In every thread, you’ve been provided information or asked to provide more in order to assist you. And you didn’t follow up with any of them. When we say “post the code”, it’s not to try to annoy you or steal your game idea… We need to see exactly what you’re doing when you say “What I’m doing isn’t working.”
You need to go through the tutorials. Every question you’ve asked would be obvious to you if did. Not doing so is basically suggesting that your time is more valuable than ours, which has a tendency to irritate over time. You may catch a few snide remarks, or worse, find people unwilling to even bother responding to you at all.
Please… put the time in and do the tutorials. Like, really do them. Watch and follow along. Type the code in instead of copying and pasting, study it, and check out the API documentation and manual. That’s how you learn to make a game.
Good luck.
[Serializefield]
private gameObject yourfont;
void onTriggerEnter(collider other){
if(other.gameObject.tag=="player"){
yourfont.setactive(true);
void ontriggerexit( collider other)
{
if(other.game.tag=="player"){
yourfont.setactive(false);}}
I wrote this code but i wrote in phone sorry for false writing GoodLuck
@Schneider21 I see what you mean by basic, stuff, i am trying to look in tutorials, but i cant really see the places where I can answer the question i am trying to find out… I do not really understand the basics, but ill look into it more… sorry for not sayin thanks, but ill try to keep that in mind.
Many times the tutorial won’t show you exactly what you want to do, you need to take the theory presented and modify it to fit your need. To do that you need to understand what the tutorial is doing, not just how it is doing it. That will take a lot of persistence and experimenting and reading the manual and scripting API even though they don’t make sense at first you will start picking things up.
Good luck.