コード例 #1
0
    private void Update()
    {
        if (_game && Input.GetMouseButtonDown(0))
        {
            EventTapDown?.Invoke();
        }

        Base.transform.position = Vector3.Lerp(Base.transform.position, _targetBase, Speed * Time.deltaTime);
    }
コード例 #2
0
 private void OnStartTapClick()
 {
     EventTapDown?.Invoke();
 }