一、c#脚本
using System.Collections;
using System.Collections.Generic;
using UnityEngine;public class Bling : MonoBehaviour
{public Texture img;public float speed;public static bool changeWhite false;private float alpha0f;// Start is called before the fi…
// 变量
var a, b, c 8, 2.3, "hello"
var d float64;
e : 6var A []int;
var B [10]int;
C : [10]int{1, 2, 3, 4}
for i : 0; i < len(B); i {}
for _, value : range C {}
D make([]int, 3)
// len 4, cap 10, 扩容方式 cap*2
E : make([]int, 4, 10)
E …