- 博客(7)
- 收藏
- 关注
原创 Unity Animator.SetFloat
unity有一个函数是 Animator.SetFloat(string name, float value, float dampTime, float deltaTime);这个接口需要每帧调用,每次调用后animator对应的param的值为 value = current + (target - current) * deltaTime / (dampTime + deltaTim
2017-07-07 22:09:04 6625
原创 代码更改Unity设置中的ICON
下面的代码是自己研究的可以实现更改unity设置中ICON的功能。 void SetDefaultIcon(Texture2D tex) { var getIconFormPlatform = typeof(PlayerSettings).GetMethod("GetIconsForPlatform", BindingFlags.NonPublic | Bind
2017-06-20 16:22:51 5689 2
转载 UNITY4.3.0f4 无法读取Android设备系统语言解决方法
直接上网址吧:http://forum.unity3d.com/threads/unity-4-3-0f4-application-systemlanguage-returns-unknown-on-android.211227/
2014-07-29 10:08:18 870
原创 unity 读写文件
using UnityEngine;using System.Collections;using System;using System.IO;using JT.FWW.GameData;using System.Runtime.Serialization.Formatters.Binary;public class UserCachedInfoWRTool : M
2014-07-25 18:13:32 464
原创 ngui popuplist 得到对应项ID
pcPopupList.items.IndexOf (pcPopupList.value) 这样得到的就是id 了 0,,1,,2,,,
2014-07-06 21:50:30 611
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人