// Update is called once per frame
    void Update()
    {
        if (Box1.GetState())
        {
            if (Random.Range(0, 100) < 40)
            {
                PD_Teleports.instance.Teleport();
            }
            else
            {
                Switch(Pos1, Pos2);
            }
        }

        if (Box2.GetState())
        {
            if (Random.Range(0, 100) < 40)
            {
                PD_Teleports.instance.Teleport();
            }
            else
            {
                Switch(Pos2, Pos1);
            }
        }
    }