Computer Science, asked by SathyaNarayananan, 2 months ago

QUIZ
q1.)
what language do we mainly use for coding in unity
q2.)what is the syntax for creating variable in c# script?
q3.) how to create a variable with spaces in python

the winner gets help in making a game​

Answers

Answered by komaladevi312
1

Answer:

Q1:The language that's used in Unity is called C# (pronounced C-sharp).

Q2:Declaring (Creating) Variables

type variableName = value; Where type is a C# type (such as int or string ), and variableName is the name of the variable (such as x or name). The equal sign is used to assign values to the variable.

Q3:Spaces are not allowed in variable names, so we use underscores instead of spaces. For example, use student_name instead of "student name". You cannot use Python keywords as variable names. Variable names should be descriptive, without being too long.

Similar questions