void Start() { originalPos = new Vector3(1, 7, 0); fingerscript = GameObject.Find("FingerPressBtn").GetComponent <FingerPress>(); ratio = 10; stage = 10; step = Time.deltaTime * stage * ratio; finbtn = GameObject.Find("FingerPressBtn"); target = finbtn.transform; }
void Start() { timeAccel = Time.deltaTime; fingerscript = GameObject.Find("FingerPressBtn").GetComponent <FingerPress>(); }