C
C#16mo ago
monkeyoohlala

❔ C#

are if statements and loops the same for C# as it is for other programming languages such as C, C++, java?
7 Replies
nebula_dev
nebula_dev16mo ago
The statement is the same, it's more so what you're comparing
monkeyoohlala
monkeyoohlala16mo ago
dang Im behind 3 chapters in my C# class was so busy doing english class I forgot about this class I took C, C++ and java classes lets see if I can catch up in a weeks time
DaVinki
DaVinki16mo ago
I'm sure you can catch up 3 chapters in a week, most topics that courses cover in a few days can be done in just a day
monkeyoohlala
monkeyoohlala16mo ago
actually I am behind in 1 chapter I'm having problem with my C# script for Unity I think the code is not refreshing because of an unknown error if I remove a component from the main camera do I have to delete it from visual studio? ok so it only works when I change the value in the Unity inspector why can't I change the value in the script file?
ThatDaniel
ThatDaniel16mo ago
if the value is serialised (shows in inspector) the inspector controls the value, changing it in the script will only change when you remove and add the script to a gameobject again
monkeyoohlala
monkeyoohlala16mo ago
Oh ok That’s weird
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.