CG数据库 >> 快速灵活可扩展功能丰富的随机数生成库脚本Unity游戏素材资源

本游戏资料是个关于快速灵活可扩展功能丰富的随机数生成库脚本Unity游戏素材资源,大小:3.17 MB ,格式:unitypackage,使用软件:Unity,供广大设计师学习使用,语言:英语。

Unity3D是一个让你轻松创作的多平台的游戏开发工具,是一个全面整合的专业游戏引擎。Unity代表了一个质的飞跃——内置的光照贴图(lightmapping)、遮挡剔除(occlusion culling)和调试器。编辑器经过彻底革新,让你可以获得卓越的性能体验。不可思议、无法阻挡的产品已经看到了曙光。

Unity是一款跨平台的游戏开发工具,从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用,Unity还包含了价值数百万美元的功能强大的游戏引擎。Unity 4作为一个游戏开发工具,它的设计主旨就是让你能够创建令人惊讶的游戏。如果你之前尝试过Unity,请查看Unity 3都做了哪些更新。如果你是第一次尝试,那就好好看看吧,看Unity都能为你带来什么。Unity作为一种开发环境,可让你脱离传统的游戏开发方式,以一种更简单的方式专注于你的游戏开发。开发网络游戏、移动游戏、单机游戏,Unity都能完全胜任。

Make It Random Complete Scripting

Experilous

Requires Unity 5.0.0 or higher.

A serious RNG library for serious engineers.

Make It Random is a fast, flexible, extensible, and feature-rich random number generation library. Unlike UnityEngine.Random, Make It Random provides the following benefits:

• Offers a wide variety of utilities on top of the basic random number generation, including non-uniform distribution sampling.

• Produces higher quality uniform distributions of integer and floating point numbers.

• Allows multiple concurrent random engines, each seeded differently, independently generating sequences of random values.

• Can be seeded using a wider variety of data, such as strings or byte arrays of any length.

• Can be used on any thread, not just the main thread.

• Includes multiple random engine algorithms and supports implementation of your own.

• Reduces confusion about whether the lower and upper bounds of ranges are inclusive or exclusive.

The categories of random data that Make It Random can generate includes:

• bits

• integers

• floating point numbers

• angles

• vectors and quaternions

• strings

• dice rolls

• colors (includes Make It Colorful)

In addition, Make It Random includes utilities for the following, with support for non-uniform weights where applicable:

• evaluating probabilities

• sampling from distributions

• selecting elements from a list

• selecting values from an enumeration

• selecting values from the set {-1, 0, +1}

• shuffling a list

The library is very extensible, to support whatever underlying RNGs and extension functions you might want. Full source code is included.

快速灵活可扩展功能丰富的随机数生成库脚本Unity游戏素材资源的图片1
快速灵活可扩展功能丰富的随机数生成库脚本Unity游戏素材资源的图片2
快速灵活可扩展功能丰富的随机数生成库脚本Unity游戏素材资源的图片3

发布日期: 2017-7-7