1
This commit is contained in:
@@ -133,9 +133,7 @@ public class GrabItem : MonoBehaviour
|
||||
{
|
||||
if (other.gameObject.CompareTag("RightHand"))
|
||||
{
|
||||
|
||||
SceneMgr.Instance.isTrigger = false;
|
||||
|
||||
}
|
||||
}
|
||||
private void OnTriggerStay(Collider other)
|
||||
@@ -190,8 +188,7 @@ public class GrabItem : MonoBehaviour
|
||||
{
|
||||
if (childAnimator != null)
|
||||
{
|
||||
Destroy(childAnimator);
|
||||
childAnimator = null;
|
||||
childAnimator.transform.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user