MovePlane.cs 358 B

1234567891011121314151617
  1. using UnityEngine;
  2. using System.Collections;
  3. public class MovePlane : MonoBehaviour
  4. {
  5. public Transform Player;
  6. // Use this for initialization
  7. void Start () {
  8. }
  9. // Update is called once per frame
  10. void Update ()
  11. {
  12. //transform.position = new Vector3(transform.position.x + offset, transform.position.y, transform.position.z);
  13. }
  14. }