国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| public static void Shuffle<T>(T[] array) | |
| { | |
| var random = _random; | |
| for (int i = array.Length; i > 1; i--) | |
| { | |
| // Pick random element to swap. | |
| int j = random.Next(i); // 0 <= j <= i-1 | |
| // Swap. | |
| T tmp = array[j]; | |
| array[j] = array[i - 1]; |
| using UnityEngine; | |
| using System.Collections; | |
| public class ShuffleArray : MonoBehaviour { | |
| // Public so you can fill the array in the inspector | |
| public int[] scenarios; | |
| void Start () |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
| Name | Stars | Last Commit | Description |
|---|---|---|---|
| three.js | ![GitHub |