コード例 #1
0
    private void Update()
    {
        if (ballTriggerGO != null)
        {
            ballTriggerGO.transform.position = ballGO.transform.position;
        }

        if (Input.GetKeyDown(KeyCode.R))
        {
            ShootGameManager.Restart(true);
        }
    }
コード例 #2
0
 private void Awake()
 {
     Instance = this;
 }