- 博客(125)
- 资源 (140)
- 问答 (7)
- 收藏
- 关注
原创 Unity WebGL移动端去除警告
修改Build\UnityLoader.js。把下面代码替换成false为了避免每次构建时都需要手动更改,使用PostBuildHandler脚本。Editor下创建PostBuildHandler脚本
2022-06-22 10:07:21
579
原创 阿里云http变成https 以及阿里云的public.crt和chain.crt的证书安装
阿里云http变成https,以及阿里云的public.crt和chain.crt的证书安装
2022-06-21 10:23:22
1627
原创 unity发布 webgl在手机端 inputfield唤醒键盘输入
unity发布 webgl在手机端inputfield怎么唤醒键盘输入
2022-06-21 09:28:33
2614
9
转载 C#文本框显示提示信息,文本框获得焦点,文本框为空
1.先在目标文本框中放置一个label,然后在窗体的代码页中添加标签初始化的方法:然后在窗体的Load事件中添加该方法;2.在该label的属性页双击MouseDown事件,然后在代码设计器中添加如下代码:tBoxRPaswd就是装label的目标文本框。3.在目标文本框的Leave事件中添加如下代码:4.运行程序,看是否达到效果我自己用这个方法达到了目的,所以这个方法应该有效。
2022-06-02 13:20:49
2687
原创 SteamVR Demo 用名字分辨那些可行走
VRTK_Pointer //脚本ExecuteSelectionButtonAction() if (pointerRendererDestinationHit.transform && IsPointerActive() && pointerRenderer.ValidPlayArea() && !PointerActivatesUseAction(pointerInteractableObject) && pointerRend..
2022-05-26 09:36:50
107
原创 Unity水管 管道流水资源
A collection of running water effects, either for exiting a pipe or tap faucet.The tap effect is a vertical spray of particles from the faucet.The pipe effect comes in both small and big variations. The water orientation can also be s...
2022-04-26 13:27:22
3799
3
原创 Unity打印log日志
using UnityEngine;using System.Collections;public class GuiDebug : MonoBehaviour{ private bool bShow = false; public Rect windowRect0 = new Rect(80, 100, 420, 366); public string mSzLog = ""; // Use this for initialization voi.
2022-04-13 13:06:49
2186
原创 Unity webgl 加载网络图片
using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Networking;using UnityEngine.UI;public class LoadPic : MonoBehaviour{ public string url = "http://www.dashanpao.vip/ceshi/DD.png"; void Awake() .
2022-04-08 13:29:54
666
原创 Unity webgl读取streamingAssetsPath文件夹txt
using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Networking;using UnityEngine.Events;using System.IO;public static class StreamingAssetPathConfigReader{ /// <summary> /// 读取StreamingAsse.
2022-04-07 16:39:48
1740
原创 unity 随机数不重复
using System.Collections;using System.Collections.Generic;using UnityEngine;public class RandmR : MonoBehaviour{ private int[] testArray; private int total; private int count; private int[] sequence; private int[] output; //.
2022-03-30 09:35:24
4892
原创 Unity 隐藏鼠标
第一种方法Cursor.visible = false; //隐藏鼠标指针Cursor.visible = true; //显示鼠标指针第二种方法 Cursor.lockState = CursorLockMode.Locked;//隐藏鼠标指针 Cursor.lockState = CursorLockMode.None;//显示鼠标指针
2022-03-28 23:41:19
8647
转载 unity ugui改变width,height,pos
1.改变RectTransform的bottomGetComponent<RectTransform>().offsetMin = new Vector2(GetComponent<RectTransform>().offsetMin.x, bottom);2.改变RectTransform的topGetComponent<RectTransform>().offsetMax = new Vector2(GetComponent<RectTr...
2022-02-18 09:31:25
2421
1
原创 佛祖镇楼 BUG辟易
//////// _ooOoo_// o8888888o// o88.888.88o// (| -_- |)// O\ = /O// ____/`---'\____// .
2022-01-24 17:33:35
408
转载 CentOS7安装配置Apache、PHP
一、安装Apachesudo yum install httpd安装成功后,Apache操作命令:systemctl start httpd //启动apachesystemctl stop httpd //停止apachesystemctl restart httpd //重启apachesystemctl enable httpd //设置apache开机启动二、PHP安装PHP一般centos都安装了,即使没有安装也很简单,一句命令搞定:sudo yum insta
2022-01-18 10:19:47
2835
原创 php读取修改json文件
//判断文件是否存在<?php//判断文件是否存在if(file_exists("login/userinfo.json")){echo "文件存在";}else{echo "文件不存在";} $filename="login/userinfo.json";//取得json文件的属性值$js=file_get_contents($filename);$js=json_decode($js);echo print_r($js);//打印文件的内容echo $js[
2022-01-18 10:13:49
284
原创 UGUI看向一个位置
public Transform target; // Use this for initialization void Start () { } // Update is called once per frame void Update () { gameObject.transform.rotation = turntodirection(gameObject.transform.position, target.position); }.
2021-12-03 10:04:13
72
原创 c#获取文本,修改某行值
/// <param name="strIndex">索引的字符串,定位到某一行</param> /// <param name="newValue">替换新值</param> public void ReplaceValue(string strIndex, string newValue) { string jsonTest = Application.dataPath + "/StreamingAssets/co.
2021-11-18 18:15:54
2277
原创 世界坐标转成屏幕坐标
public Camera foregroundCamera;//主相机Vector3 headjoint;headjoint=foregroundCamera.WorldToScreenPoint(headjoint);headjoint = foregroundCamera.ScreenToWorldPoint(headjoint);
2021-08-17 14:31:23
254
[插件资源] Dialogue System for Unity 1.7.0 - 创建对话系统的专用插件
2017-06-02
[插件资源] Control Freak 2.22 - The Ultimate Virtual Controller for Unity
2017-06-02
Universal WebGL Template1.3.0
2024-01-09
RT-Voice PRO 2023.1.0
2023-04-25
Speech Generation for NPC 1.1
2023-04-25
UnityWebGL唤醒手机输入框
2022-06-21
UnityWebSocket
2022-06-02
Running_Pipe_And_Tap_Water_FX
2022-04-26
Unity3D与微信小程序(游戏)交互
2022-04-25
MobileMovieTexture去水印
2018-06-01
liunx输入法文件
2018-05-16
[插件资源] Dialogue System for Unity 1.7.2 - 创建对话系统的专用插件
2017-07-11
CSDN的用户ID修改,官方能不能开放修改用户ID的功能?
2022-04-28
unity 擦除效果 呱呱乐效果
2022-02-15
python还没入门呢 报了个错 哪里的错误呀 求解答
2022-02-09
unity 抽奖Demo
2021-12-20
解拼图,是不是这样无解
2021-12-14
steam平台的 Rust(腐蚀)被封机器
2021-11-18
unity 拖动下面UI2D,上面一起移动
2021-11-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人