查看: 1662|回复: 1
打印 上一主题 下一主题

[插件资源] Make It Random Complete 1.0 - 乱数生成专用插件

[复制链接]
may    

8830

主题

80

听众

7万

积分

首席设计师

Rank: 8Rank: 8

纳金币
52304
精华
343

最佳新人 热心会员 灌水之王 活跃会员 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2017-6-19 10:09:41 |只看该作者 |倒序浏览

QQ截图20170619100420.jpg
1650f77c-f56d-4445-b3c3-4630bcf76483_scaled.jpg
416f7bfd-aa77-452c-82c7-496803febeaa_scaled.jpg
100dfb3c-9365-49f9-b549-a6ecfa8a83c7_scaled.jpg
33e753f9-5347-4750-826d-d724b079f541_scaled.jpg
1c43c05a-81e9-4abb-90ca-553aade93321_scaled.jpg

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.

Make It Random Complete.rar

2.96 MB, 阅读权限: 10, 下载次数: 18

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏1 支持支持0 反对反对0
回复

使用道具 举报

1

主题

2

听众

1510

积分

助理设计师

Rank: 4

纳金币
13
精华
0
沙发
发表于 2017-6-19 11:51:31 |只看该作者
{:6_156:谢谢分享~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-5-10 08:37 , Processed in 0.096401 second(s), 31 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部