using System.Collections; using System.Collections.Generic; using UnityEngine; public class YingjiudianOffset : MonoBehaviour { // Use this for initialization private float offset; void Start () { } // Update is called once per frame void Update () { } public float getOffset() { offset += 0.3f; return offset; } }