using System.Collections; using System.Collections.Generic; using UnityEngine; using ShadowKit; using ShadowKit.Action; using SC.InputSystem; public class PlayProgress : MonoBehaviour { void Start () { } void Update () { if (API_InputSystem.Target == gameObject) { float v = Mathf.InverseLerp(-0.2f, 0.7f, API_InputSystem.Position.x); Debug.Log(API_InputSystem.Position.x + " " + transform.position.x + " " + v); } } }