自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(38)
  • 资源 (4)
  • 收藏
  • 关注

原创 untiy 过滤 安卓原生输入法表情

【代码】untiy 过滤 安卓原生输入法表情。

2023-07-12 10:55:29 428

原创 lua拼接字符串速度比较

【代码】lua拼接字符串速度比较。

2022-12-16 09:37:48 309

原创 Hazel引擎安装踩坑

git地址GitHub - TheCherno/Hazel: Hazel Engine1,py命令无法执行,原因是win10的默认路径设置成了商店。2,引擎安装程序,要用py3,我装的py2。3,py下载不动,源没有更新国内的。

2022-02-05 08:32:18 857

原创 lua绑定类的实现

local bindFunc = { on = function(self, key, luaAction) self.bindTb[key] = luaAction end, off = function(self, key, luaAction) self.bindTb[key] = nil end}local Notify = function(self, tbl, key, value) if tbl.bindTb[ke.

2022-01-13 19:53:35 295

原创 lua原表的使用

local extFunc = { add = function(tb, arg2) print(tb) print(arg2) end}local a = { __tostring = function(tb) return "a" end}local b = { __mode = "kv", __index = function(tb, key) print(tb) .

2022-01-12 19:39:07 1878

原创 gitee实战操作

目录一、Git建立本地仓库并上传到Gitee 1.输入个人信息(代码提交者) 2.在本地项目目录创建本地仓库,输入命令后项目目录会有一个隐藏的.git文件夹 3.上传所有代码到本地仓库,(注意add后面有个点,与add之间有一空格) 4.在gitee上新建项目,复制https://gitee.com/xxx/xx.git地址 5.关联本地仓库并上传代码二、提交文件1.添加所有文件2.提交文件3.推送...

2021-06-30 11:02:33 220

原创 从零开始Unity Google Protobuf 实战

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档文章目录前言 一、pandas是什么? 二、使用步骤 1.引入库 2.读入数据 总结前言提示:这里可以添加本文要记录的大概内容:例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。提示:以下是本篇文章正文内容,下面案例可供参考一、pandas是什么?示例:pandas 是基于NumPy 的一种工具,该工具是为了解决数..

2021-06-18 17:13:59 341 3

原创 Unity Ads 实战

点击网站跳转using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Advertisements;using UnityEngine.UI;public class TestAds : MonoBehaviour{ private PlayerAdsData _playerAdsData = new PlayerAdsData(); ...

2021-05-19 16:49:28 737 8

原创 lua 检测中文、数字、字母

--检测中文、数字、字母function CheckNickName(s) local ss = {} for k = 1, #s do local c = string.byte(s,k) if not c then break end if (c>=48 and c<=57) or (c>= 65 and c<=90) or (c>=97 and c<=122) then ss[#ss+1] = string.char(c.

2020-11-30 14:17:40 2295

原创 lua “2020-09-10 00:00:01“ 转时间戳

local str = "2020-09-10 00:00:01" local pattern = "(%d+)-(%d+)-(%d+) (%d+):(%d+):(%d+)"local y, mon, d, h, min, s = str:match(pattern)local timeChu = os.time({day=d, month=mon, year=y, hour=h, minute=min, second=s})

2020-10-13 15:25:39 506

原创 excl 到表工具

逻辑using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using System.IO;using NPOI;using N

2020-08-19 17:51:15 173

原创 git常用操作

配置 gitgit config --global user.name 你的英文名 #此英文名不需要跟GitHub账号保持一致git config --global user.email 你的邮箱 #此邮箱不需要跟GitHub账号保持一致git config --global push.default matchinggit config --global core.quotepath falsegit c...

2020-06-03 10:57:29 117

原创 skynet学习之UnityMMO源码分析之客户端登录(2)

点击登录正在上传…重新上传取消触发登录事件正在上传…重新上传取消请求连接正在上传…重新上传取消监听OnReceiveLine 事件正在上传…重新上传取消正在上传…重新上传取消转存失败重新上传取消正在上传…重新上传取消成功连接游戏服务器正在上传…重新上传取消正在上传…重新上传取消触发登录成功事件 获得角色列表...

2020-04-11 15:45:12 663

原创 skynet学习之UnityMMO源码分析之服务器启动(1)

后端文件目录分析启动文件查看配置文件分析main.lua文件

2020-04-04 10:27:59 564

原创 nginx资源服务器

http://127.0.0.1:8008/res/start nginx.exenginx.exe -s reloadnginx.exe -s quit;

2020-03-27 13:39:02 112

原创 ssh到localhost或127.0.0.1拒绝连接

https://www.cnblogs.com/rainymemory/p/10915354.html查看进程并关闭进程https://www.cnblogs.com/summer1019/p/10348713.htmlhttps://github.com/halo-dev/halo

2019-12-17 16:08:38 2572

原创 some-mmorpg运行步骤

===================安装some-mmorpg===================wget https://www.openssl.org/source/openssl-1.0.1t.tar.gztar -xzvf ./openssl-1.0.1t.tar.gzmv openssl-1.0.1t/* some-mmorpg/3rd/opensslcd some-mm...

2019-12-12 14:49:08 184

原创 安装 LuaJIT

wget http://luajit.org/download/LuaJIT-2.0.5.tar.gztar xzvf LuaJIT-2.0.5.tar.gzcd LuaJIT-2.0.5mkdir ~/luajit2make prefix=/home/wang/luajit2sudo make installluajit -v#SuccessfullyLuaJIT 2.0.5 ...

2019-12-09 19:02:22 802

原创 Linux 删除文件夹和文件的命令

-r 就是向下递归,不管有多少级目录,一并删除-f 就是直接强行删除,不作任何提示的意思删除文件夹实例:rm -rf /var/log/httpd/access将会删除/var/log/httpd/access目录以及其下所有文件、文件夹删除文件使用实例:rm -f /var/log/httpd/access.log将会强制删除/var/log/httpd/acces...

2019-12-09 18:15:27 7371

原创 在Ubuntu 18.04上安装Git

步骤1.首先,通过运行以下命令确保您的系统和apt包列表完全更新:apt-get update -yapt-get upgrade -y第2步。在Ubuntu 18.04上安装Git。现在让我们安装git:apt install git您可以使用以下命令来检查已安装的git版本:git --version...

2019-12-06 20:06:47 145

原创 Ubuntu 上 Node.js 安装和卸载

1、Ubuntu 安装 Node.Js1.1、执行检查可更新的软件:sudo apt-get update1.2、先用普通的apt工具安装低版本的node,然后再升级最新。sudo apt-get install nodejssudo apt install nodejs-legacysudo apt install npm1.3、更换淘宝的镜像,这个是必须的,用过的nod...

2019-12-06 08:10:08 803

原创 点击unity日志响应事件

using System;using System.Collections.Generic;using System.Reflection;using System.Text.RegularExpressions;using UnityEditor;using UnityEngine;public class LogEditor{ private static LogEd...

2019-12-05 17:01:29 268

转载 查找代码中文

using UnityEngine;using UnityEditor;using System.Collections.Generic;using System.IO;using System.Collections;using System.Text.RegularExpressions;using System.Text;public class FindChineseTo...

2019-11-25 16:00:15 226

原创 VS安装NPOI

https://jingyan.baidu.com/article/f25ef254b1104d482c1b821d.html

2019-11-22 09:59:56 1741

转载 unity get post 请求,node服务器

安装node,配置环境npm install express服务器代码 webserver.jsvar express = require("express")var app = express()var path = require("path")//静态网页目录,process.cwd()为当前目录app.use(express.static(path.join(p...

2019-11-20 14:34:50 337

原创 unity和node服务器,get.post通信

get服务器get.jsvar http = require('http');var url = require('url');var util = require('util');http.createServer(function(req, res){ res.writeHead(200, {'Content-Type': 'text/plain'}); ...

2019-11-16 13:30:06 234

原创 替换所有材质球

using UnityEngine;using UnityEditor;using System.Collections;using System.Collections.Generic;using System.Linq;using System.IO;using LitJson;public class effectdata { public int id; ...

2019-11-07 17:30:11 441

原创 拖拽生成路径

using UnityEngine;using System.Collections;using UnityEditor;public class TestDrag : EditorWindow{ private string path; Rect rect; [MenuItem("Window/TestDrag")] private static v...

2019-11-07 16:19:14 204

原创 时间轴编辑器

using System;using System.Collections;using System.Collections.Generic;using System.Reflection;using System.Text;using UnityEditor;using UnityEngine;public static class HandleUtilityWrapper...

2019-11-06 16:15:29 622

原创 课时72 Fragment shader 7 - 实现半透明着色 2

Shader "Custom/Transparent_Object" { SubShader{ pass { blend srcalpha oneminussrcalpha ztest greater zwrite on CGPROGRAM #pragma vertex vert #pragma fragment frag #include "unityc

2016-11-06 16:00:33 637

原创 课时70 Fragment shader - Alpha 与 blend 运算

Shader "Custom/Transparent_1" { SubShader { pass { blend srcalpha oneminussrcalpha CGPROGRAM #pragma vertex vert #pragma fragment frag #include "unitycg.cginc" struct v

2016-11-04 16:24:10 348

原创 Unity在安卓环境下通过adb打印语句

Unity调试的时候,有的时候需要在安卓手机上进行真机调试,我们可以把应用直接安装在手机上,然后连着电脑,将打印语句输出在cmd中。一,安装安卓sdk,配置环境变量在Path中加入两个地址:D:\Android_sdk\adt-bundle-windows-x86-20130917\sdk\tools;D:\Android_sdk\adt-bundle-windows-

2016-08-09 16:10:15 1666

翻译 Cardboard使用空间音频(三)原文翻译

Spatial AudioIntroductionThe Google Virtual Reality (VR) SDK features a best-in-class audio rendering engine that is highly optimized for mobile VR. The goal of the engine is to give listeners a t

2016-08-05 11:24:59 1154

原创 Cardboard使用空间音频(二)demo学习

今天研究了一下gvr提供的空间音频demo一,项目设置1,打开AudioSpaces场景,场景中有有四个发声对象,都必须挂载CardboardAudioSource.cs这个脚本;2,主摄像机上必须挂载音频监听脚本CardboardAudioListener.cs3,在编辑——项目设置——声音里面设置空间音频类型注:这个在plugin

2016-08-03 15:01:34 474

翻译 Cardboard使用空间音频(一)原文翻译

Using Spatial Audio使用空间音频To get started with Google VR's spatial audio support in Unity, first add the first add theGvrAudioListener component to the same GameObject that Unity's AudioListener com

2016-08-02 18:15:12 968

翻译 谷歌的VR SDK脚本参考单位

谷歌的VR SDK脚本参考单位GazeInputModule  这个脚本提供了统一的baseinputmodule类的实现,使布面(uGUI)UI元素可以看着他们拉观众的触发或触摸屏选择。GvrAudio这是主要的GCR音频类与音频系统的本地代码实现沟通。GvrAudioListener GCR音频侦听器组件,提高AudioListener提供先进的空间音频功能。GvrAu

2016-07-14 16:57:02 1423

原创 MySql服务器安装

服务器安装流程http://jingyan.baidu.com/article/48b558e37c20e77f38c09a16.html服务器安装包下载地址http://download.csdn.net/detail/lxq_xsyu/6468461

2016-03-27 20:56:16 267

原创 JavaWeb开发环境搭建

一,安装eclipse二,安装JavaJDK三,配置eclipse和JDK环境变量四,eclipse的基本设置

2016-03-27 19:04:43 267

SimpleObjectPool.unitypackage

SimpleObjectPool

2021-05-20

ads_function_demo.unitypackage

unity ads 实战 unity ads 实战 unity ads 实战 unity ads 实战

2021-05-19

工作一小时自动弹窗.bat

批处理 bat 工作一小时自动弹窗 ,保护腰椎,颈椎,可以手动调节时间;批处理 bat 工作一小时自动弹窗 ,保护腰椎,颈椎,可以手动调节时间;批处理 bat 工作一小时自动弹窗 ,保护腰椎,颈椎,可以手动调节时间;批处理 bat 工作一小时自动弹窗 ,保护腰椎,颈椎,可以手动调节时间

2020-07-20

EditorFontReplace(2).cs

unity工具类unity工具类

2019-12-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除