This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class MobilePlatformController: MonoBehaviour { | |
public Vector2 route; | |
public float timePerCycle = 2.0f; | |
[Range (0,2)] | |
public float startRelativePosition=0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class MobilePlatformController: MonoBehaviour { | |
public Vector2 route; | |
public float timePerCycle = 2.0f; | |
[Range (0,2)] | |
public float startRelativePosition=0; |