✅ Why cant this script acsess currentlySelectedTile

No description
6 Replies
41phaNum3r1ca1
41phaNum3r1ca1OP6mo ago
this is attcahed to mainCamera
41phaNum3r1ca1
41phaNum3r1ca1OP6mo ago
No description
41phaNum3r1ca1
41phaNum3r1ca1OP6mo ago
and this is attached to a gameObject
Buddy
Buddy6mo ago
You need to access the reference of clickOnTile component It is not the Camera script, but clickOnTile I suggest you learn C# before going into Unity. $helloworld
41phaNum3r1ca1
41phaNum3r1ca1OP6mo ago
I have been learning c# You do not learn blender(I have done so) by reading logs for 700 hours and then attempting a project, you do not learn french by reading the dictionary. Why would I decide to wait for(I do believe the time on a previous link was 700 hours) 700 hours studying and then write a line of code? I have learnt C# to the point where I can attempt a project, fail, try to figure out what went wrong, fail to do so, ask for help, and learn in the process. If I waited until I knew every method, and new all the intricacies of threading, I would still not be able to make a project I fuck up my code today so that I can write better code tomorrow. If I wait until I am perfect I will never end up writing anything
Want results from more Discord servers?
Add your server