예제 #1
0
    public void Catch(HandController _handController)
    {
        AudioManager.Instance.EnableWarningMusic(false);
        AudioManager.Instance.PlayCapsuleCatch();
        mainTransform.SetParent(_handController.handMainTransform);
        _handController.Catch(this);

        mainRigidbody.isKinematic     = true;
        mainRigidbody.velocity        = Vector2.zero;
        mainRigidbody.angularVelocity = 0;
        mainTransform.localPosition   = new Vector3(0.75f, 0, 0);
        mainTransform.localRotation   = Quaternion.identity;
    }