Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
public class MobilePlatformController: MonoBehaviour {
public Vector2 route;
public float timePerCycle = 2.0f;
[Range (0,2)]
public float startRelativePosition=0;
using UnityEngine;
using System.Collections;
public class MobilePlatformController: MonoBehaviour {
public Vector2 route;
public float timePerCycle = 2.0f;
[Range (0,2)]
public float startRelativePosition=0;