logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

unity读取JSON文件

dll文件:在unity中创建Plugis文件夹并导入Litjson.dll到文件夹下命名空间:using System.IO;using LitJson;using System.Data;代码:string testJsonFilePath = “文件路径+文件名”;string jsonContext = File.ReadAllText(testJsonFilePath);Question

#unity#json#c#
unity(C#)对于XML文件的创建及添加

创建及添加XML文件:string localPath = Application.streamingAssetsPath + "/" + "SchoolReport.xml";if (!File.Exists(localPath)){XmlDocument xml = new XmlDocument();//想要添加XML文件的话将这行代码替换为xml.Load(localPath);

#xml#c##unity
unity(C#)实现二叉树(1)

功能实现://直接复制(可用)using System.Collections;using System.Collections.Generic;using UnityEngine;using System;public class BST1<E> where E : IComparable<E>{private class Node{public E key;public

#unity#c##游戏引擎
到底了