6 Replies
this is attcahed to mainCamera
and this is attached to a gameObject
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.
$helloworldI 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