I want to ask please in response there is an error in my coding like this NullReferenceException: Object reference not set to an instance of an object InputName1.Awake() (at Assets/InputName1.cs:16)
@@techplatform5100 Hi! If you still need help: you just have to fill in all your GameObjects in your SceneManager. So if you inport the script in your SceneManager you will have to drag and drop your GameObjects :)
I managed to save the name i entered in the input field but i can't dispay it on the main scene. I need to do this for the Unity Learn's Create With Code Mission project
Pleasee can you make a video that how to make a coin system that every time a gameobject is pressed add 1 coin to the text UI and pass the texts data to Homepage scene
Very informative, however what I am after is, when a scene1 loads a scene 2 on a button click, on scene2, I want to populate a inputfield with some text. The problem is, the code that populates the inputfield is dying since it has not yet been instantiated, so I get a "Null reference..." error message. Not sure how to handle this . :(
Yow this is great! What would be the case if i wanted to change the username again when going back to scene1. I am saying this because there is a missing component which is the input field to enter the text when you want to change your username going back to scene 1. Does this statement make sense? Hope it does!...
Assets\scripts\MainMenu.cs(9,19): error CS0246: The type or namespace name 'Scene1' could not be found (are you missing a using directive or an assembly reference?)
Hopefully i get a response, what if i want to transfer a text from scene 1 (skipping scene 2) to scene 3, how to i go about it? Also if i have multiple textmeshpro and i want to have it displayed in scene 3
Thank you so much for the walk through, helped me understand the concept much clearer.
I want to ask please in response there is an error in my coding like this NullReferenceException: Object reference not set to an instance of an object
InputName1.Awake() (at Assets/InputName1.cs:16)
same error comes to me what did u do??
@@techplatform5100 Hi! If you still need help: you just have to fill in all your GameObjects in your SceneManager. So if you inport the script in your SceneManager you will have to drag and drop your GameObjects :)
Is the panel on another layer? What's the different between a panel and the canvas?
I managed to save the name i entered in the input field but i can't dispay it on the main scene. I need to do this for the Unity Learn's Create With Code Mission project
Hi i am also doing the module on Unity Learn. When he did the second awake method I put that in the MainManager Script. Hope that helps.
ruclips.net/video/2liZtyMhIQQ/видео.html&ab_channel=JimmyVegas
This helped me with that problem
Pleasee can you make a video that how to make a coin system that every time a gameobject is pressed add 1 coin to the text UI and pass the texts data to Homepage scene
HOW CAN WE UNLOCK ALL THE LEVELS USING A SINGLE BUTTON LIKE FOR IAP
Thank you for the explanation !
Hello sir thankyou for your tutorial but ive been tried submitting without input text it also move to scene 2 . , Please reply sir
Hey. I want to show this text for 5 seconds only. So how can I do that?
Thank you so much brother!
Very informative, however what I am after is, when a scene1 loads a scene 2 on a button click, on scene2, I want to populate a inputfield with some text. The problem is, the code that populates the inputfield is dying since it has not yet been instantiated, so I get a "Null reference..." error message. Not sure how to handle this . :(
Hello! I'm getting the same error and I was wondering if you found a way to solve it? It would be very helpfull if you colud tell me it. Thanks!
hey do you know how to code, shooting by hold down touch? whitout a button?
Hi @xlmRiisky, I have not it before but I can look into it for you.
@@theultimatedeveloper4736 that would be nice thanks, do u have discord or something?
@@Memejuiice Not currently. Just a Facebook page but will up discord soon. Also please don't forget to hit that subscribe button.
@@theultimatedeveloper4736 sure i did, did u found something?
@@Memejuiice I will make a video and post soon on how you can achieve this.
OMG, thank you so much!
Yow this is great! What would be the case if i wanted to change the username again when going back to scene1. I am saying this because there is a missing component which is the input field to enter the text when you want to change your username going back to scene 1. Does this statement make sense? Hope it does!...
thank you very very much
Thank you!
Assets\scripts\MainMenu.cs(9,19): error CS0246: The type or namespace name 'Scene1' could not be found (are you missing a using directive or an assembly reference?)
Please Check Your Scene name by going in File/build settings
THAAANNKKKK YOIUUUUUUU BROOOO
You welcome bro, I hope it helped.
thaks bro
Does the name remain registered when the game is closed?
It doesn't
If this is a way to send parameters - I have no words. :)
Hopefully i get a response, what if i want to transfer a text from scene 1 (skipping scene 2) to scene 3, how to i go about it? Also if i have multiple textmeshpro and i want to have it displayed in scene 3
GRANDEEEEE
anyone here from Unity Coding tutorial assignment?
OMG do NOT create static references to monobehaviours
OMG you saved my life
Niice
Thank you
private void Awake()
{
//Start of code
if (Instance != null)
{
Destroy(gameObject);
return;
}
//end of code
Instance = this;
DontDestroyOnLoad(gameObject);
}