void PoolNumber() { setUp = transform.parent.gameObject.GetComponent <InGameMapGenerator_WS> ().GetSetUp(); length = setUp.GetTotal(); }
/// <summary> /// Changes the set up. /// </summary> /// <param name="newSetUp">New set up. Change the set up for different maps set ups. (If only want to change texture use SetNewMap)</param> public void ChangeSetUp(MapGeneratorSetUp_WS newSetUp) { setUp = newSetUp; }