myObject.Destroy() | myObject.LookAt(0, 0, 0) | ||
myObject.LookTarget(obj1) | myObject.MoveForward(1.0) | ||
myObject.MoveForward(1.0, true) //Space.World or Space.Self | myObject.MoveRight(1.0) | ||
myObject.MoveRight(1.0, true) //Space.World or Space.Self | myObject.MoveRotation(0, 0, 0) //for gigidbody | ||
myObject.MovePosition(0, 0, 0) //for gigidbody | myObject.MoveTo(0, 0, 0) | ||
myObject.Rotate(0, 1, 0) | myObject.Rotate(0, 1, 0, false) //Space.World or Space.Self | ||
myObject.RotateAround(0, 0, 0, "x", 30) | myObject.SetActive(false) | ||
myObject.SetAmbientColor(255, 255, 255, 255) | myObject.SetCenterOfMass(0, 0, 0) | ||
myObject.SetColor(255, 255, 255) | myObject.SetColor(255, 255, 255, 255) | ||
myObject.SetDisable() | myObject.SetEnable() | ||
myObject.SetOrientation(0, 0, 0) | myObject.SetPosition(0, 0, 0) | ||
myObject.SetScale(2) | myObject.SetScale(2, 2, 2) | ||
text3DObject.SetText("Hello") | myObject.SetTexture("http://www.sample.com/img1.png") | ||
myObject.SetTextureOffset(0.1, 0.1) | myObject.SetTextureTiling(10, 10) | ||
myObject.SetVisible(false) | myObject.SmoothMoveTo(10, 0, 0) | ||
myObject.Translate(1) | myObject.Translate(1, 0, 0) | ||
myObject.Translate(1, 0, 0, "true") //Space.World | |||
v3 = myObject.Backward | v3 = myObject.Down | ||
v3 = myObject.Forward | v3 = myObject.Left | ||
v3 = myObject.Orientation | str = myObject.OrientationString | ||
v3 = myObject.Position | str = myObject.PositionString | ||
v3 = myObject.Right | v3 = myObject.Up | ||
v3 = myObject.Velocity | str = myObject.VelocityString |
Camera.DisableJoystick() | Camera.Enablejoystick() | ||
Camera.LookAt(0, 0, 0) | Camera.LookTarget(obj1) | ||
Camera.MoveForward(1.0) | Camera.MoveForward(1.0, true) //Space.World or Space.Self | ||
Camera.MoveRight(1.0) | Camera.MoveRight(1.0, true) //Space.World or Space.Self | ||
Camera.MoveTo(0, 0, 0) | Camera.Rotate(0, 1, 0) | ||
Camera.Rotate(0, 1, 0, false) //Space.World or Space.Self | Camera.RotateAround(0, 0, 0, "x", 30) | ||
Camera.SetOrientation(0, 0, 0) | Camera.SetPosition(0, 0, 0) | ||
Camera.Translate(1) | Camera.Translate(1, 0, 0) | ||
Camera.Translate(1, 0, 0, "true") //Space.World | |||
v3 = Camera.Backward | v3 = Camera.Direction | ||
str = Camera.DirectionString | v3 = Camera.Down | ||
v3 = Camera.FocusPosition | str = Camera.FocusPositionString | ||
v3 = Camera.Forward | v3 = Camera.GyroOrientation | ||
v3 = Camera.GyroDelta | v3 = Camera.Left | ||
v2 = Camera.LeftJoystick | b = Camera.LeftJoystickPressed | ||
b = Camera.LeftJoystickClick | b = Camera.LeftButtonPressed | ||
b = Camera.LeftButtonClick | v3 = Camera.Orientation | ||
str = Camera.OrientationString | v3 = Camera.Position | ||
str = Camera.PositionString | v3 = Camera.Right | ||
v2 = Camera.RightJoystick | b = Camera.RightJoystickPressed | ||
b = Camera.RightJoystickClick | b = Camera.RightButtonPressed | ||
b = Camera.RightButtonClick | v3 = Camera.Up |
null | char | sbyte | byte | short | ||
ushort | int | uint | long | ulong | ||
float | double | decimal | datetime | string | ||
guid | bool | object | var | Vector3 | ||
unsigned | hashtable | dictionary | arraylist | queue | ||
stack | random | stringbuilder | bitmap |
char[] | sbyte[] | byte[] | short[] | ushort[] | ||
int[] | uint[] | long[] | ulong[] | float[] | ||
double[] | decimal[] | string[] | bool[] | Vector2[] | ||
Vector3[] | Vector4[] |   |   |   |
a = map(a, 0, 100, -50, 50) | t = millis() | a = random(0, 10) | r = toRadian(d) | ||
d = toDegree(c) | c = sin(r) | c = cos(r) | c = tan(r) | ||
c = asin(r) | c = acos(r) | c = atan(r) | c = atan2(x, y) | ||
n = sqrt(m) | n = sign(m) | a = abs(m) | p = pow(x, y) | ||
m = min(x, y) | m = max(x, y) | n = round(m) | n = dist(x1, y1, x2, y2) | ||
n = dist(x1, y1, z1, x2, y2, z2) | p = PingPong() | p = PingPong(len) | p = PingPong(t, len) | ||
p = Math.acos(x) | p = Math.asin(x) | p = Math.atan(x) | p = Math.atan2(x, y) | ||
p = Math.ceiling(x) | p = Math.cos(x) | p = Math.cosh(x) | p = Math.equals(x, y) | ||
p = Math.exp(x) | p = Math.floor(x) | p = Math.log(x) | p = Math.log10(x) | ||
p = Math.max(x, y) | p = Math.min(x, y) | p = Math.pow(x, y) | p = Math.round(x) | ||
p = Math.sign(x) | p = Math.sin(x) | p = Math.sinh(x) | p = Math.sqrt(x) | ||
p = Math.tan(x) | p = Math.tanh(x) | p = Math.truncate(x) | p = Math.PI | ||
p = Math.E | p = Math.abs(x) | p = Math.PingPong() | p = Math.PingPong(len); | ||
p = Math.PingPong(t, len) |
Vector3[] arr = GetCirclePoints(count, radius) |
t = Time.time | t = Time.deltaTime | t = Time.fixedDeltaTime | c = Time.frameCount | ||
t = Time.systemTime |
s = toString(3.14) | b = toBool("true") | f = toFloat("3.14") | d = toDouble("3.14") | ||
b = toByte(200) | s = toShort("100") | i = toInt("100") | l = toLong("100") | ||
c = toChar(100) | c = toDatetime("2021-10-01 13:40:01") | b = getBytes("hello") | b = getString(buf) | ||
b = toChars("hello") |
b = isNull(a) |
b = isNullOrEmpty(a) | b = equals(a, b) | s = toLower("Hello") | ||
s = toUpper("Hello") | b = equals(a, b) | b = isLower("hello") | ||
b = isUpper("HELLO") | b = isLetter("abc123") | b = isAlpha("abc") | ||
b = isDigit("123") | b = isNum("123") | string[] r = split("1,2,3", ",") | ||
float[] r = splitValues("1,2,3", ",") | string w = WordWrap(s, 20) | string[] r = s.Split(",") | ||
string s = s.SubStr(5) | string s = s.SubStr(0, 5) | char[] r = s.ToChars() | ||
r = s.ToLower() | r = s.ToUpper() | a = str.IndexOf("hello") | ||
str.Replace("aaa", "bbb") | n = str.Length |
s = File.ReadString("a.txt") | s = File.ReadString("C:/Temp/a.txt") | s = File.ReadInt("a.txt") | ||
s = File.ReadFloat("a.txt") | string[] s = File.ReadAllLines("a.txt") | File.WriteString("a.txt", "Hello") | ||
File.WriteString("C:/Temp/a.txt", "Hello")) | File.WriteAllLines("C:/Temp/a.txt", a)) | s = File.Exists("a.txt") | ||
File.Delete("a.txt") | File.Copy("a.txt", "C:/Temp/a.txt")) |
b = Util.IsNull(s) | b = Util.IsNullOrEmpty(s) | b = Util.Exists(s) | b = Util.Now() | ||
b = Util.Magnitude(v) | b = Util.Normalize(v) | b = Util.Distance(v1, v2) | b = Util.Angle(v1, v2) | ||
s = Util.BytesToHex(buf) | s = Util.Replace(s, "a", "b") | arr = Util.Split(str, ",") | n = Util.ToBool(v) | ||
n = Util.ToFloat(v) | n = Util.ToDouble(v) | n = Util.ToByte(v) | n = Util.ToShort(v) | ||
n = Util.ToInt(v) | n = Util.ToLong(v) | n = Util.ToChar(v) | n = Util.ToDateTime(v) | ||
n = Util.ToString(v) | n = Util.ToRadians(v) | n = Util.ToDegrees(v) | n = Util.GetBytes(v) | ||
n = Util.GetChars(v) | n = Util.GetString(v) | n = Util.CombineArrays(a1, a2) | |||
n = Util.NewLine |
Application.OpenURL("http://www.google.com") | Application.OpenURL("file://C:/Temp") | ||
Application.OpenPath() | s = Application.Path | ||
Application.ClearCache() | Application.Quit() |
Player.SetString("a", "Hello") | Player.SetInt("a", 123) | Player.SetFloat("a", 123.56) | ||
s = Player.GetString("a") | a = Player.GetInt("a") | f = Player.GetFloat("a") | ||
s = Player.Path() |
v2 = Vector2.FromString("1, 1") | x = v2.X | y = v2.Y | ||
a = Vector2.Angle(v1, v2) | a = Vector2.SignedAngle(v1, v2) | v = Vector2.Dot(v1, v2) | ||
d = Vector2.Distance(v1, v2) | m = Vector2.SqrtMagnitude(v) |
v3 = Vector3.FromString("1, 1, 1") | str = v3.ToString() | x = v3.X | ||
y = v3.Y | z = v3.Z | a = Vector3.Angle(v1, v2) | ||
a = Vector2.SignedAngle(v1, v2, v3) | v = Vector2.Dot(v1, v2) | v = Vector3.Cross(v1, v2) | ||
d = Vector2.Distance(v1, v2) | v = Vector2.Normalize(v) | m = Vector3.SqrtMagnitude(v) | ||
m = Vector3.Magnitude(v) |
v4 = Vector4.FromString("1, 1, 1, 0") | x = v4.X | y = v4.Y | ||
z = v4.Z | w = v4.W |
a = Random.Value //0 ~ 1.0 | a = Random(0, 256) //0 ~ 255 |
light1.SetIntensity(2.0) | light1.SetRange(100) | ||
light1.SetSpotAngle(45) |
s = button1.GetText() | button1.SetPosition(100, 100) | ||
button1.SetPositionRatio(0.2, 0.2) | button1.SetSize(100, 100) | ||
button1.SetSizeRatio(0.2, 0.2) | label1.SetText("Hello") | ||
label1.SetTextColor(255, 255, 255, 255) | label1.SetTextSize(24) | ||
label1.SetTextSizeRatio(0.05) | label1.SetVisible(false) | ||
joint1.SetAngularPosition(0, 30, 0) | joint1.SetAngularVelocity(0, 100, 0) | ||
joint1.SetLinearPosition(10, 0, 0) | joint1.SetLinearVelocity(10, 0, 0) | ||
joint1.SetMotorPower(power) | joint1.SetMotorPower(power, power_scale) | ||
joint1.SetMotorPower(power, power_scale, "x") | joint1.SetTargetPosition(10) | ||
joint1.SetTargetVelocity(100) | |||
v3 = joint1.AngularPosition | v3 = joint1.AngularVelocity | ||
v3 = joint1.LinearPosition | v3 = joint1.LinearVelocity |
red = myColor.r | green = myColor.g | ||
blue = myColor.b | alpha = myColor.a |
w = Screen.Width | h = Screen.Height |