随笔分类 - 【技术】Unity3d游戏编程
摘要:mono C#项目简介 想必C#玩家往往受到Java玩家的嘲笑,不能写移动端。mono C#的目的正是通过C#的中间语言(汇编语言)来二次编译成Android项目的开源项目。 Unity3d正是使用了mono C#项目的成果发展而来,并在此基础上加入了对底层C++的支持,可以进行跨平台部署游戏。 设
阅读全文
摘要:inputfield标签控制台打印object 这说明没有字符串给入 这是因为 inputfield下的text不能人为写入值,只能在game界面输入。 所以这个标签里的text做个默认值不好搞。
阅读全文
摘要:Azure服务器保护机制限制移动端访问 必须使用移动app服务来转接api,才可以访问。
阅读全文
摘要:Xamarin因为是mono项目的商用版,mono项目是.net技术的开源修改版,所以和微软的服务对接时候会出现安全验证问题。 mono项目本质是对汇编级的中间语言二次编译。可参考公共语言运行时相关知识。 unity3d项目是mono项目的游戏应用,用于跨平台,此外为了更好的和计算机硬件配合,uni
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; using System.Text; using System.Net; u
阅读全文
摘要:public变量引发错误 在vs ide中怎么更改也无效 后来发现public里面的值一直不改变,手动改之。
阅读全文
摘要:1.C#在与其他人通信时,最好不要用tcpclient来承接其他语言,会收不到用户名,最好都用socket。 2.unity3d在与java通信时,对方返回我unity3d发的数据流会打印收到一个类,最好java那边用字符串接一下,再转发回来。 3.python在ros系统中发出消息时会出现中文乱码
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; using System.Text; using System.Net; u
阅读全文
摘要:发布时报错 参考https://forum.unity.com/threads/where-is-package-name-setting.318839/ 参考https://answers.unity.com/questions/162141/android-bundle-identifier-h
阅读全文
摘要:using NAudio.Wave; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; usi
阅读全文
摘要:using (Stream stream = response.GetResponseStream()) { buffer2 = new byte[stream.Length]; stream.Read(buffer2, 0, buffer2.Length); } stream.Length失败 解
阅读全文
摘要:using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Net; using UnityEngine; public class record :
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class record : MonoBehaviour { AudioClip audioClip; AudioSource
阅读全文