コード例 #1
0
ファイル: Leap.cs プロジェクト: phillserrazina/Jamfuzer2020
    private void OnTriggerEnter(Collider other)
    {
        if (other.GetComponent <PlayerMovement>() != null)
        {
            _camEf.Blink();

            if (_hatch != null)
            {
                _hatch.Lock();
            }

            //Invoke("LeapMe", 0.25f);
            StartCoroutine(LeapMe());
        }
    }