自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 C# String

C# String API 方法详细 飞书文档C# Tostring格式public class StringTest : MonoBehaviour{ int number = 2345; void Start() { //string value = number.ToString("n");//2,345.00 //string value = number.ToString("c");//¥2,345.00 //strin

2021-09-28 15:32:24 127

原创 C# Dictionary

C# Dictionary 属性、方法using System.Collections;using System.Collections.Generic;using UnityEngine;public class DictionaryTest : MonoBehaviour{ Dictionary<string, string> keyValues = new Dictionary<string, string>(); private string ou

2021-09-27 15:57:37 131

原创 Unity多场景叠加显示

Unity多场景叠加显示最近做项目,又多个场景模型来回切换的需求,但UI通用,为了方便开发使用了场景叠加的解决方案public void LoadLevel(string leveName, bool isFirst = false){ SceneIndex.UIActive = false; if (!isFirst) { StartCoroutine(UnLoadScene(leveName)); }else { StartCoroutine(

2021-09-27 11:16:14 2492

原创 C# HashSet

C# HashSet 用法using System.Collections.Generic;using UnityEngine;public class Test : MonoBehaviour{private static string[] hello = new string[] {“one”,“two”,“three”,“four” };HashSet companyTeams = new HashSet(hello);string[] world = new string[] { “o

2021-09-27 10:56:49 193

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除