- 博客(24)
- 资源 (55)
- 收藏
- 关注
原创 [Unity][JAVA]与服务器时间比较
从服务器中获取的是一个long的变量,单位是秒。与服务器时间比较就得用.../// <summary> /// 获取时间戳 /// </summary> /// <returns></returns> public static string GetTimeStamp() { TimeSpan ts = DateTime.UtcNow -..
2021-06-30 17:48:42 101
原创 [Unity][FairyGUI]官方例子在哪里
Assets\FairyGUI-unity-master\Assets\Examples\ScenesExample 01 - Basics
2021-06-30 10:26:31 2153 3
原创 [Unity]同时加载多场景根目录物体查找管理
同一个场景,同时加载多个场景,并快速查找其他场景的根目录物体。新建2个场景test1,test2场景test1场景test2SceneControl_test1using UnityEngine;using UnityEngine.SceneManagement;public class SceneControl_test1 : MonoBehaviour{ private void Awake() { Scene scene...
2021-06-29 16:11:54 988 3
原创 [Unity][射线检测]3DNGUI与地图场景中物体重合
有的时候 3DNGUI 用于 地图场景 的一些 3DUI 显示。但是会出现BUG。... void Update() { if (UICamera.hoveredObject != null) { Debug.Log(" UICamera.hoveredObject: " + UICamera.hoveredObject); return;//如果 悬浮NGUI 不为 空,则 不进行 射线检测..
2021-06-26 11:54:00 235 1
原创 [Unity][C#][ILRuntime]Dictionary嵌套错误
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.System.Reflection.TargetInvocationExcepti...
2021-06-26 11:28:36 1925
原创 [Unity]Object of type ‘ILRuntime.Runtime.Intepreter.ILTypeInstance‘ doesn‘t match target type ‘Unity
Object of type 'ILRuntime.Runtime.Intepreter.ILTypeInstance' doesn't match target type 'UnityEngine.Collider'
2021-06-23 10:07:14 554 1
原创 [Unity][ILRuntime]热更新委托调用OnTriggerEnter
Unity项目中在要调用的物体上,含有碰撞体组件,以其设置其IsTrigger为真。using System.Collections;using System.Collections.Generic;using UnityEngine;public class ColliderDetect : MonoBehaviour{ // Start is called before the first frame update public delegate void...
2021-06-21 17:24:01 362
原创 [Unity][NGUI]禁用UIRoot的子物体自动改变物体Layer
NGUI的UIPanel.csvoid UpdateLayers ()//line 1598Hu
2021-06-18 13:35:08 228 1
原创 [Unity][ILRuntime]热更新Cannot find ValueTypeBinder for type:UnityEngine.Vector3
不知道为什么 就是用不了 这个 V
2021-06-17 15:20:15 370 1
原创 [Unity]‘Animator‘ does not contain a definition for ‘UnbindAllHandles‘
Library\PackageCache\[email protected]\Editor\State\WindowState.cs(1014,41): error CS1061: 'Animator' does not contain a definition for 'UnbindAllHandles' and no accessible extension method 'UnbindAllHandles' accepting a first
2021-06-17 11:54:27 1008
原创 [Unity][C#]秒数快速转换天小时分钟
...using System;...void Start() { changeTime(3670); } /// <summary> /// 改变 秒数 为 时间 /// </summary> /// <param name="second"></param> public void changeTime(int second_) { ...
2021-06-11 16:59:44 917
原创 [Unity][NGUI]动态设置UIButton精灵鼠标悬浮自动初始化BUG
动态设置UIButton精灵,鼠标 悬浮 UIButton 或 点击的时候,会改变为 初始值例如 初始预制体设置为UIButton的 UISprite.spriteName = "a";同时设置 UIButton 的 normalSprite、hoverSprite、pressedSprite为"b"才可以... setUIBtnSprite(uiSprite,"b");//... void setUIBtnSprite(UISprite sp, string s...
2021-06-10 16:56:34 182 1
原创 [Unity][C#]给函数形参赋值会怎么样
using System.Collections;using System.Collections.Generic;using UnityEngine;public class testFunction : MonoBehaviour{ // Start is called before the first frame update void Start() { test("123"); test(null); ...
2021-06-10 14:24:54 340
原创 [Unity][JSON]分割字符串并添加字典Dictionary的成员
...using System.Collections.Generic;... public static void StringToDictionary(Dictionary<int,int> d_,string str_) { int x1 = 0, x2 = 0; string[] strArray = str_.Split(';'); Debug.Log("???? ...
2021-06-05 15:11:38 299 1
原创 [Unity][NGUI]改变UIButton的几个状态的颜色
... btn_.defaultColor = Color.Black; btn_.hover = Color.Black; btn_.pressed = Color.Black;...
2021-06-02 16:46:49 373 2
原创 [Unity][事件委托]对NGUI滑动条Slider添加事件
NGUI滑动条Slider的OnValueChange事件动态添加一个回调函数。
2021-06-01 16:20:39 465 2
GtaV1.5apk
2017-12-25
泰拉瑞亚Terraria 全物品合成表
2017-12-20
Rimworld_A13之职业及特性
2017-12-20
UnityNavMeshComponents-master寻路组件动态自动烘培
2017-11-18
UnityGUI强大10多个统计DIY自定义组件分享
2017-11-15
[Unity][unet][Android]发送信息交互通讯的工程文件
2017-10-31
NetworkingTools_UnityProject_GameSparks_tut5
2017-06-20
VolumetricLinesUnity
2017-06-16
InputManager
2017-06-13
unity-json-master
2017-05-13
Volume 15 屏幕高斯模糊(Gaussian Blur)特效的实现
2017-04-16
Modified SpriteOutline.rar
2017-03-05
SpriteOutline.shader
2017-03-05
[Unity]在3D物体上播放帧动画
2021-10-27
EasyTouch 5.0.17.以及5.0.12和校验中问文档.rar
2021-08-25
HttpFileUploaderAndDownloader-master_123.rar
2021-08-14
UnityAndroidTakePhoto.rar
2021-08-09
FileUploaderAndDownloader
2021-08-05
RuntimePermissions.jar.src.zip
2021-08-04
Crowd Behavior - Unity3D Mall Simulation
2019-11-24
io_scene_fbx_277fixed
2019-02-14
Unity标准两足人形模型动作拓展
2019-02-12
Field-of-View-master
2018-02-04
OutlineEffectforUnity2D3D物体描边插件
2017-12-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人