随笔分类 - C#
摘要:1 using UnityEngine; 2 using System; 3 using System.Collections; 4 using System.Collections.Generic; 5 using DG.Tweening; 6 using System.Linq; ...
阅读全文
摘要:I'm trying to create a 2D array to store some values that don't change like this.const int[,] hiveIndices = new int[,] {{200,362},{250,370},{213,410} ...
阅读全文
摘要:Oftentimes you’ll find yourself using classes you can’t modify. Whether they’re basic data types or part of an existing framework, you’re stuck with t...
阅读全文
摘要:Implicitly Typed Local VariablesIt happens time and time again: I’ll be at a game jam, mentoring students, or just showing a friend some Unity C# code...
阅读全文
摘要:一、对于引用类型你了解多少? string a = "1"; string b = a; a = "2"; print(b); GameObject a = new GameObject("1");//game object 有一个 name 构造 GameObject ...
阅读全文
摘要:一、Application.PresistentDataPath注意最后面是没有/的 public static string PresistentDataPathForEditor = "C:/Users/Administrator/AppData/LocalLow/DefaultC...
阅读全文

浙公网安备 33010602011771号