- 博客(32)
- 资源 (46)
- 收藏
- 关注
转载 How to implement a Side-by-Side Stereo Camera Setup in Unity如何在Unity中实现并排立体相机设置
https://github.com/asigitov/SideBySideCamera
2024-03-16 18:03:39 27
原创 Atmospheric Height Fog在游戏视图不起作用的问题
Atmospheric Height Fog在游戏视图不起作用的问题。打开camera里面的depth texture改成on。
2023-10-01 14:50:24 124
转载 适用于 iPhone 和安卓设备的免费 10 款最佳换脸应用程序 [2023]
适用于 iPhone 和安卓设备的免费 10 款最佳换脸应用程序
2023-09-12 09:27:52 3964
原创 awesome-metaverse元宇宙
NVIDIA OmniverseSecond LifeAltspaceVRBigscreenBreakroomParty SpaceHubsGatherflat.socialUhive - A Social MetaverseKode Sports ClubCryptoVoxelsDecentralandRealmYahahaCroquet OSvoxel-builderPlotagon StoryFFORMSRooomThe WildStageverseMonaRec RoomSomnium SpaceS
2023-03-30 12:34:23 257 1
转载 3D人脸重建开源项目整理
源码:https://github.com/zihangJiang/DR-Learning-for-3D-Face。源码:https://github.com/yuefurong97/extreme_3d_faces。源码:https://github.com/yuefurong97/MobileFace。源码:https://github.com/yuefurong97/3dmm_cnn。源码:https://github.com/yuefurong97/RingNet。
2023-03-28 12:02:25 825
转载 Unity 获取Animation,Animator,SkeletonAnimation的状态
nity 获取Animation,Animator,SkeletonAnimation的状态
2022-11-08 22:57:26 1088
原创 Type of instance in array does not match expected type
Type of instance in array does not match expected type
2022-09-27 11:11:57 1092
原创 unity加载网页显示不了流视频解决了
unity做一个加载大数据的软件,大数据 是用html5开发的,里面有很多带blob的流视频,但是unity换了几个插件都不能播放,最终用Electron 做了一个网页框架放到unity上方,unity通过websocket给Electron 浏览器发送命令显示网页和隐藏网页,最终完美解决
2022-04-08 19:59:44 6764 1
转载 Unity自带VideoPlayer播放视频总是闪上一个视频的画面的问题
1、问题原因:主要因为用RenderTexture取渲染播放的,当视频播放完成之后,会在将最后一帧的画面定格在RenderTexture上2、解决办法:在播放之前或者播放完之后,释放RenderTexture上的资源,调用方法。RenderTexure rt;rt.Release();...
2021-11-17 10:23:30 1538
原创 unity输入框点击弹出软键盘
using System.Collections;using System.Collections.Generic;using UnityEngine;using System;using System;using System.Net;using System.Net.Sockets;using System.Threading;using System.IO;using UnityEngine.UI;using System;using System.Diagnostics;.
2021-11-05 23:12:25 1817
转载 2021-11-04
using System.Collections;using System.Collections.Generic;using UnityEngine;using System.IO; //操作文件夹时需引用该命名空间using System.Text;public class TxtWriteAndRead : MonoBehaviour{ TextAsset m_Txt; void Start() { // AddTxtTextByFileSt.
2021-11-04 14:36:04 154
转载 基于UGUI ScrollView的可缩放拖拽功能,可以用于地图,预览图片等方面
using UnityEngine;using System.Collections;using UnityEngine.UI;using UnityEngine.EventSystems;public class DragMoveScrollView : ScrollRect{ public float m_maxScale = 5; public float minScale = 1f; private Touch oldTouch1; private .
2021-10-28 10:39:44 263
转载 unity ugui截图问题
项目上要针对一个UGUI创建的UI窗体截图,但是不能截取窗体外的内容。按照我的思路就采用Texture2D tex = new Texture2D((int)宽度, (int)高度, TextureFormat.RGB24, false);tex.ReadPixels(new Rect(左下角X, 左下角Y, 宽度, 高度), 0, 0);tex.Apply();的方法来实现,但是实际中发现UI中的RectTransform的宽度和高度不正确,所以思考了一个下午,才发现原来是Canvas有
2021-10-13 15:29:31 242
转载 2021-08-30
UGUI 透明png图片不响应鼠标事件里面提到先再图片资源的importsetting里勾选Read/Write Enabled选项然后写一个脚本挂在此图片的GameObject上,在Awake或者Start方法中输入代码:image image = GetComponent();image.alphaHitTestMinimumThreshold = 0.1f;然后再配合使用eventTriger组件,添加图片为对象,再选择自己想要的事件方法注意要勾选image组件的rayc.
2021-08-30 16:42:33 46
转载 unity 截图上传生成二维码
publicvoidCaptureScreen(Camera c, Rect r){//捕抓摄像机图像并转换成字符数组RenderTexture rt =newRenderTexture((int)r.width, (int)r.height, 0);c.targetTexture = rt;c.Render();RenderTexture.active = rt;...
2021-06-21 06:55:25 484
转载 Unity 在2D中实现LookAt
由于Transform.LookAt是使Z轴看向目标,而2D基本是由X和Y轴构成的。所以在2D的游戏中,不太好使用。所以用代码实现一个2D的LookAt函数。例子:我们使怪物的眼睛一直看着云。怪物的眼睛朝向和localX轴的朝向一致,所以使怪物看着云,即将localx指向云。给怪物挂上脚本脚本编写写法一: void Update () { Vector2 direction = target.transform.position - transfo.
2021-05-04 10:36:17 534
Touch Camera PRO - Easy Mobile Desktop Camera Controller 3.0.4
2023-09-28
TUIOSimulator tuio模拟器 java和unity2个版本 java版本需要安装java环境
2023-06-20
Better-Minimal-WebGL-Template unity webgl打包模板 支持手机
2022-12-09
unity2019转2018 ui脚本丢失问题自动一键修复
2022-12-07
3D WebView for Android and iOS Web Browser4.1
2022-06-17
Demolition Media Hap v0.9.5(Sep 11,2017)u5.6.3f1
2022-05-30
3D WebView for Windows and macOS Web Browser[4.0]
2022-04-27
3D WebView for Android and iOS Web Browser.unitypackage
2022-01-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人