Home > other >  [welfare] CSDN college 64 class Unity 3 d free course a sneak peek!!
[welfare] CSDN college 64 class Unity 3 d free course a sneak peek!!

Time:09-23

[size=14 px] want to learn the Unity3D junior partner, the welfare approach!
If you worry because of the zero base, so, this video is definitely your first choice of CSDN college!
I don't talk nonsense, directly connected each everybody!
[19] the Unity development video tutorial introduction to the c # language:
http://edu.csdn.net/course/detail/1982

[27] unity development of c # based video tutorial:
http://edu.csdn.net/course/detail/2050

[18] nity development course of the unity engine base:
http://edu.csdn.net/course/detail/2121

[/size]

CodePudding user response:

Introduction to the Unity of the c # language development tutorial
Lesson 1: download and install the views for
http://edu.csdn.net/course/detail/1982


CodePudding user response:

Lesson 2: the c # compiler process 20:04

First in views created programs: "Hello World!"
using System;

The namespace Lesson02
{
The class MainClass
{
Public static void Main (string [] args)
{
Console. WriteLine (" Hello World!" );
}
}
}

CodePudding user response:

Unity development tutorial introduction to the c # language Lesson02 source:
using System;

The namespace Lesson02
{
The class MainClass
{
The primary function is the Main function in the//c #
//in c # {} among department called a code block, {} will be behind some function

///
///The entry point of The program, where The program control starts and ends.
///

///
Public static void Main (string [] args)
{
//on the console to print some content
Console. WriteLine (" Hello World!" );


//c # annotation type
//1//single-line comments
//2,/* */multiline comment
//documentation comments before the main function on///
///
///The entry point of The program, where The program control starts and ends.
///

///

}
}

}

CodePudding user response:

Unity development tutorial introduction to the c # language Lesson03 source:


Unity development tutorial introduction to the c # language Lesson04 source:
The source code
using System;

The namespace Lesson04
{
The class MainClass
{
Public static void Main (string [] args)
{
//declare the variable type + variable names;
Int level;
//to initialize variables
Level=6;
//use the variable
Console. WriteLine (level);

//declare a float type variable exp
Float exp.
//initialize a variable
Exp=0.6 f;
Console. WriteLine (exp);

//declare a variable of type string STR
string str;
//initialize a variable
STR="hello Lao wang";
Console. WriteLine (STR);

//declare and initialize the integer constants a
Const int a=9.
Console. WriteLine (a);

//PI with constant said
Const float PI=3.1415926 f;
Console. WriteLine (PI);

}
}
}

CodePudding user response:

Unity development tutorial introduction to the c # language Lesson04 source:


using System;

The namespace Lesson04
{
The class MainClass
{
Public static void Main (string [] args)
{
//declare the variable type + variable names;
Int level;
//to initialize variables
Level=6;
//use the variable
Console. WriteLine (level);

//declare a float type variable exp
Float exp.
//initialize a variable
Exp=0.6 f;
Console. WriteLine (exp);

//declare a variable of type string STR
string str;
//initialize a variable
STR="hello Lao wang";
Console. WriteLine (STR);

//declare and initialize the integer constants a
Const int a=9.
Console. WriteLine (a);

//PI with constant said
Const float PI=3.1415926 f;
Console. WriteLine (PI);

}
}
}

CodePudding user response:

Unity development tutorial introduction to the c # language Lesson05 source:
using System;

The namespace Lesson05
{
The class MainClass
{
Public static void Main (string [] args)
{
//integer type assignment

Sbyte a=120;
Console. WriteLine (a);
Byte b=5;
Console. WriteLine (b);
//short integer
Short c=4;
Console. WriteLine (c);
Ushort d=5;
Console. WriteLine (d);
//plastic
Int e=4;
Console. WriteLine (e);
Uint f=6;
Console. WriteLine (f);
//long plastic
Long g=6;
Console. WriteLine (g);
Ulong h=77;
Console. WriteLine (h);

//decimal type
Float z=4.56 f;
Console. WriteLine (z);
Double x=4.56;
Console. WriteLine (x);

//string type operations not
String name="Lao wang";
Console. WriteLine (name);

//special type Boolean logic operation: only two values true or false!
Bool u=true;//true
U=false;//false
Console. WriteLine (u);

}
}
}
  • Related