步骤创建GameObject(命名Mesh Genrate网格生成器),为其添加两个组件Mesh Filter和Mesh Renderer.,创建脚本Mesh Genrate。 【1】基础知识 【1】基础知识 (Unity三角形绘制渲染,正反都是顺时针方向:012;132) ...
分类:
编程语言 时间:
2019-07-09 19:12:46
阅读次数:
90
题目链接:http://codeforces.com/problemset/problem/1187/E E. Tree Painting You are given a tree (an undirected connected acyclic graph) consisting of n<!-- ...
分类:
其他好文 时间:
2019-07-09 10:50:32
阅读次数:
74
五星宏辉游戏项目小结 web服务端和game服务端的区别 Server的定义和分类 wiki对Server的定义: In computing, a server is a computer program or a device that provides functionality for oth ...
分类:
其他好文 时间:
2019-07-09 00:02:30
阅读次数:
116
https://github.com/PacktPublishing/Hands-On-Game-Development-Patterns-with-Unity-2018 1. Unity Engine Architecture 2. Game Loop and Update Method 3. P ...
分类:
编程语言 时间:
2019-07-08 19:50:51
阅读次数:
130
考虑加入一个点的时候,如果它会让答案变优,一定是到任意直径上的端点。 接着我们仔细思考一下,直径相交部分之外显然在同一侧的长度相同对吧。 那么直接拿两个$vector$维护两边的点就好了,剩下的就是一些细节处理了。 ...
分类:
其他好文 时间:
2019-07-07 14:40:22
阅读次数:
73
啥也不说了,就是个练手,丑是丑了一点,但是还可以抢救一下的# -*- coding: utf-8 -*-import pygame as pgfrom pygame.locals import * #将pygame所有常量导入,如后面的QUITfrom time import sleepimport... ...
分类:
编程语言 时间:
2019-07-06 19:19:42
阅读次数:
105
A. Keanu Reeves 题目链接:http://codeforces.com/contest/1189/problem/A 题目: After playing Neo in the legendary "Matrix" trilogy, Keanu Reeves started doubti ...
分类:
其他好文 时间:
2019-07-06 13:06:45
阅读次数:
81
全局坐标系描述游戏场景内所有物体位置和方向的基准,也称为世界坐标系。在Unity场景中创建的物体都是以全局坐标系中的坐标原点(0,0,0)来确定各自的位置的。局部坐标系每个物体都有其独立的坐标系,并且随物体进行相同的移动或者旋转,也称为模型坐标系或物体坐标系。模型mesh的Transform保存的P... ...
分类:
编程语言 时间:
2019-07-06 00:30:13
阅读次数:
154
Pavel is developing another game. To do that, he again needs functions available in a third-party library too famous to be called. There are mm functi ...
分类:
其他好文 时间:
2019-06-29 22:14:50
阅读次数:
106
原文链接www.cnblogs.com/zhouzhendong/AGC026F.html 前言 太久没有发博客了,前来水一发。 题解 不妨设先手是 A,后手是 B。定义 $i$ 为奇数时,$a_i$ 为"奇数位上的数";$i$ 为偶数时, $a_i$ 为"偶数位上的数"。定义左、右两端的数分别表示 ...
分类:
其他好文 时间:
2019-06-29 21:58:18
阅读次数:
219