Ejemplo n.º 1
0
    private void UpdateOnBouncyBoxWhenExit(Collider other)
    {
        PhysicsBouncyBox box = other.GetComponent <PhysicsBouncyBox>();

        if (box != null)
        {
            onBouncyBox = null;
        }
    }
Ejemplo n.º 2
0
 private void UpdateOnBouncyBoxStay(Collider other)
 {
     onBouncyBox = other.GetComponent <PhysicsBouncyBox>();;
 }