You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.setDescription('A way to debug your code/game in unity.'),
7
+
8
+
asyncexecute(client,interaction,Discord){
9
+
awaitinteraction.channel.send("If you have a code which isn't working and there are no errors or warnings of such kind use ``Debug.Log()``. This will help you where actually the unknown error is.\nlet's take an example like if you wrote a code of rotating something but after you start or run the code the object is not rotating use ``Debug.Log()`` command at the part where you think the code is not working.This is a nice practise even while in general coding. ~~Even I use this type of commands more~~.\n\n'When you get lost, use Debug.Log()' - BLAME <@341756841576890378> for this quote.")
.setDescription("Displays the link for learning discord.js "),
7
+
8
+
asyncexecute(client,interaction,Discord){
9
+
constembedMsg=newDiscord.EmbedBuilder()
10
+
.setColor('#9C27B0')
11
+
.setTitle('**Learn C# basics before starting with Unity!**')
12
+
.addFields(
13
+
[{name: "Learning the syntax of C# definitely helps when using Unity. Here are some links to get you started!",value: "https://docs.microsoft.com/en-us/dotnet/csharp/ (Microsofts 'Getting Started' Guide on C#)\nhttps://channel9.msdn.com/Series/CSharp-Fundamentals-for-Absolute-Beginners (Teaches you the C# fundamentals)\nhttps://github.com/ossu/computer-science (Not strictly C#, a general open-source education in Computer Science)\n https://www.classcentral.com/report/stanford-on-campus-courses (Publicly available Computer Science courses from Stanford)\n https://codecademy.com/learn/learn-c-sharp (Code Academy course on C#)\n https://learn.unity.com/ (Has great tutorials on using C# with Unity)"}])
14
+
.setFooter({text: `Most programming problems come from not knowing how to use the language - if you haven’t programmed much or you’re not confident about the OOP concepts in your mind, it's useful to understand these before diving into the engine.`})
0 commit comments