41 Replies
what's a weird beginner question?
"I know a lot about C#... minus the syntax."
ok.. and?
I use Unity Visual Scripting, so I know a lot about C#, but I don't know how to format code in C#.
what code? can u show?
You won't be able to make use of this, but okay?
you want to convert that into C#?
Here's some poorly made C# I created earlier
No, I just want to learn C#
you can learn C# from links below $helloworld
Written interactive course https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/
Videos https://dotnet.microsoft.com/learn/videos
I know how it works, but I don't know how to properly format C# code
you can learn that from the links above too 🙂
Really follow the link above it is perfect to help you achieve what you want. Like really.
So I tried to write it with the knowledge I have so far, and almost instantly failed! :D
Time to follow tutorials.
l i n k s 🤔
I know
and pretty sure u need to specify the key code for that one
and then use it in an
if
Don't try to mimic the behaviour of your unity visual scripts before having the basics on C#
from what language is this syntax from?
That's like trying to learn driving by starting on a highroad or a mountain road
jesus take the wheel
The funny part is that the only thing I wanted to do was set velocity when up arrow was pressed 🤣
Pseudo C# (Or if you want to know the context of the things used, Unity.)
AHAHAHHAHA I'M A C# MASTER /j
👏
I keep forgetting the ";" XD
i asked how to make a variable show up on a script, and after a bunch of people screeching at me to watch a tutorial, someone finally told me how. yaaaay.
👏
You're my hero right now
it's not gonna be a float so no need for
50f
, just 50
works
.Length
is an int property 🤔Oh yeah, I forgot I made it a float for some reason lol
The Unity server is so unfriendly, I was literally crying half an hour ago all because I shared a couple lines of code and it devolved into a huge argument.
Literally nobody was being constructive there
I think I've learned enough C# to attempt something new.
I mean... if you said I know a lot about c# minus the syntax, can you blame them?
i know alot about rust minus rust 😛
I don't know your mom.
?
? what
Nm a silly joke
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.