自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Nakama在Centos的部署安装

Nakama在Centos的部署安装,该文是本人实践记录,如有误请留言指正,谢谢什么是NakamaNakama是一个开源的、支持多平台的App、实时游戏的分布式服务器1.安装Docker1.推荐使用docker进行服务器的运行,所以首先需要在操作系统上安装docker。这里用的是TX服务器的Centos8.2,linux的其它配置什么的就不说了,直接安装dockercurl -sSL https://get.daocloud.io/docker | sh使用了国内daocloud的镜像进行安

2021-03-16 10:53:40 1108 2

原创 ET框架5.0 自学笔记(1) - ET框架介绍

2020.5.2现在Unity的后端开源方案还是蛮多的稍微列举一下Barebones Master Server 没使用过不过多介绍DarkRift Networking没使用过不过多介绍Forge Networking 用过2.0,已经帮你把底层的东西都做好了,你要做的就是直接一把梭(雾),挺不错的,本身是脱离Unity的,所以可以在服务器上运行,比如Linux,直接装C#环境就...

2020-05-02 12:40:34 4612

转载 Unity位运算符和Layers

原文:https://www.cnblogs.com/leeplogs/p/9133824.html按位运算符:与(&)、非(~)、或(|)、异或(^)、<<(左移)、>>(右移)。位运算符主要用来对二进制位进行操作。逻辑运算符:&&、||、!。逻辑运算符把语句连接成更复杂的复杂语句。与运算符:只有两个位都是1,结果才是1;或运...

2020-01-17 14:51:11 931

转载 git 中提交代码时注释乱码问题

设置git 的界面编码:git config --global gui.encoding utf-8设置 commit log 提交时使用 utf-8 编码:git config --global i18n.commitencoding utf-8使得在 $ git log 时将 utf-8 编码转换成 gbk 编码:git config --global i18n.logou...

2019-12-30 10:05:46 1513

转载 ESP8266 WiFi WebServer

#include <ESP8266WiFi.h> /*** 该工程可以在2.4.0版本esp8266库中运行,没在更高版本库中进行测试 ***/ const char *ssid = "WIFI名称";const char *password = "WIFI密码"; WiFiServer server(80); String readString = ""; //建...

2019-12-05 20:41:04 2053

原创 Kbengine 报错Access denied for user

我用的是navicat进行数据库的管理的,用户也是用navicat创建的但是总是遇到这个报错,网上找也找不到自己排查,密码也没错啊?官方文档说删掉匿名用户,我就俩用户啊,一个root,一个kbe的用户配置密码(server_assets\res\server\kbengine.xml)加密也没错怎么就是提示报错了呢?然后我换成了root加密码,发现竟然可以那就说明是...

2019-11-19 18:36:30 268

原创 Unity3d枚举多选

Unity3d枚举多选默认的enum枚举在监视窗口下是只有单选的,下面只需要添加简单的脚本,便能实现多选新建C#脚本EnumFlags和EnumFlagsDrawer打开EnumFlags脚本添加如下代码using UnityEngine;public class EnumFlags : PropertyAttribute { }打开EnumFlagsDrawer脚本,添加如下代码...

2018-10-21 04:44:39 2282 2

原创 Unity3d监听值的变化

许多时候我们希望监听某个布尔值变化了之后会调用某方法首先可以创建一个类 public class EventListener { public delegate void OnBoolChangeDelegate(bool newVal);//也可以改成int等等 public event OnBoolChangeDelegate O...

2018-04-03 01:36:56 11392 13

原创 Unity3d用Gizmos画一个圆圈

public int VertexCount = 50;//定义圆圈边定点数量,数值越高越平滑public float Radius = 1;//圆形半径public Vector3 Offset;//圆圈位移void OnDrawGizmos() { float deltaTheta = (2f * Mathf.PI) / VertexCount; fl

2017-08-02 23:25:09 3341

转载 Mysql 远程连接 is not allowed to connect mysql server

mysql远程连接出现Host "XXX.XXX.XXX.XXX" is not allowed to connect mysql server第一要看防火墙入出站规则是否有开放mysql的端口,默认是3306第二,如果还不行,那么就是mysql账号不允许你登录。解决办法:1。 改表法。登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"

2017-06-22 01:35:11 569

原创 Unity3d - 动态读取Multiply的Sprites

Unity3d - 动态读取Multiply的Sprites今日在敲代码的时候发现一个问题,就是不能用Resources.Load()读取设置了Multiply的Sprites,难道要一个一个做出来然后再一个一个读取吗?太麻烦,于是在网上搜,搜到的并不完整,自己捣鼓一番补完整。首先开头要引用System.Collections.Generic然后要定义字典private Dictionary<str

2017-05-19 21:12:22 2991 1

原创 Unity3D - 路径的编辑与跟随路径的移动

Unity3D 路径的编辑与跟随路径的移动脚本的编写。

2017-05-11 21:27:39 10874 8

Shader Froge 适用与Unity 2018版本

适用与unity2018版本的shader forge 适合人群:想要制作酷炫的效果,但又不会Shader编程的童鞋!

2020-01-08

unity FlowCanvas 2.9.0.zip

Unity可视化脚本FlowCanvas 2.9.0 所支持的Unity版本:5.6.1 及以上版本 FlowCanvas is a powerful visual scripting system to create and manipulate virtually any aspect of gameplay elements for your Unity games in a very similar fashion to Unreal Blueprints and Autodesk Stingray, but with far less programming knowledge required! FlowCanvas gives you the full flexibility of concepts typically available only in code, through an intuitive visual node editor, empowering you to create things from quick prototypes, up to complete game mechanics, without writing a single line of code. Designers: Prototype, iterate and realize complete gameplay mechanics without coding, while learning how code works the easy way. If you are familiar with Unreal Blueprints, you will feel right at home. Programmers: Interface with your code at a higher level, creating decoupled systems and/or provide new self-contained nodes for designers with an easy and well documented API. By connecting Events, Flow Controllers, Actions and Functions together, you can create and manipulate gameplay elements including but certainly not limited to: ● Player Controls ● Level Design Events ● Gameplay Mechanics ● User Interfaces ● Player Interactions ● and a whole lot more.

2020-01-08

ArchVizPRO Interior Vol6

ArchVizPRO Interior Vol6 2.52G 三A级场景 Unity Asset Store地址:https://assetstore.unity.com/packages/3d/environments/urban/archvizpro-interior-vol-6-120489

2019-11-09

Unity3d树资源包

一个unity3d引擎的树资源包,内含多种树和草,草丛等等

2018-05-23

空空如也

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

TA关注的人

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