private void UpdateOnBouncyBoxWhenExit(Collider other) { PhysicsBouncyBox box = other.GetComponent <PhysicsBouncyBox>(); if (box != null) { onBouncyBox = null; } }
private void UpdateOnBouncyBoxStay(Collider other) { onBouncyBox = other.GetComponent <PhysicsBouncyBox>();; }