(๑•͈ᴗ•͈)❀送花给你

摘要: 状态类继承的公共接口 public interface IState { uint GetStateID(); void OnEnter(StateMachine stateMachine, IState lastState, object param1, object param2); void 阅读全文
posted @ 2020-03-02 21:07 胸前小红花 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1AndroidStudio端: build项目后得到Unity中可以使用文件的位置 此文件需要放入Plugins/Android文件夹中 此文件可以用压缩软件打开 注意其中的lib,Unity和AndroidStudio中只能有一个,可以放入Unity的bin文件夹中 2.Unity端: 注意打包 阅读全文
posted @ 2020-02-25 19:11 胸前小红花 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 高德WMTS瓦片地图服务地图图源规律:https://www.jianshu.com/p/e34f85029fd7 Unity LBS地图(瓦片地图,不接入任何SDK):https://blog.csdn.net/flash099/article/details/53995468 实现效果: 1 角 阅读全文
posted @ 2020-02-24 17:07 胸前小红花 阅读(1672) 评论(8) 推荐(3) 编辑
摘要: 我是用aar文件实现unity和android交互的 1.打包项目使用高德的api黑屏,白屏,闪退 unity的文件结构看这个 当初遇到的问题比如 打开游戏黑屏,白屏,闪退 将文件结构改为这个就没问题了 其中的assets文件是从Android_Map3D_SDK_V7.2.1_20200115.j 阅读全文
posted @ 2020-02-20 17:50 胸前小红花 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: 今天看到一篇教程,下面是关于教程中第4步的操作 原教程链接:http://www.manew.com/thread-100614-1-1.html 4、改完之后其实还并未起作用,因为该目录下的这些源码知识给我们看的,unity真正调用的是其打包好的classes.jar。为了让我们刚刚改好的代码起作 阅读全文
posted @ 2020-02-15 22:42 胸前小红花 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: 官方: A ScriptableObject is a data container that you can use to save large amounts of data, independent of class instances. One of the main use cases f 阅读全文
posted @ 2020-02-11 15:40 胸前小红花 阅读(162) 评论(0) 推荐(0) 编辑
摘要: class MyClass { string Name="1"; } class Program { void Main() { MyClass myClass = new MyClass(); //得到myClass的Name字段的值 string myClass_Name = (string)m 阅读全文
posted @ 2020-02-10 19:13 胸前小红花 阅读(273) 评论(0) 推荐(0) 编辑