FANDOM


UniStorm Tutorials

These tutorials cover things not covered in UniStorm's video tutorials. Note: This secton will be updated with more information soon.




Setup UniStorm with endless terrains

Setting up UniStorm with endless terrains is simple. You just need to have the distant UniStorm objects follow your player. Below are the steps to do so,

1) Create a new script, name it FollowUniStorm, and copy the code from below:

using UnityEngine;
using System.Collections;

public class FollowUniStorm : MonoBehaviour 
{
	public Transform player;

	void Update () 
	{
		transform.position = new Vector3(player.position.x, transform.position.y, player.position.z);
	}
}


2) Attach this script to the following objects with your Player in the Player Transform slot.

  • A) CloudParent object
  • B) Light Parent object
  • C) Star Dome object


UniStorm should now follow your player endlessly wherever they go.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.