Pseudo random
using System.Collections; using System.Collections.Generic; using UnityEngine; public class seed : MonoBehaviour { public string gameSeed = "111111"; public int currentSeed = 0; void awake() { currentSeed = gameSeed.GetHashCode(); Random.InitState (CurrentSeed); } }
댓글 0
아직 댓글이 없어요. 첫 댓글을 남겨보세요.