Ejemplo n.º 1
0
    public void ShowFrustumHandles()
    {
        DisableHandles();
        connectedModelingObject.RepositionScalers();
        connectedModelingObject.PositionHandles(false);
        connectedModelingObject.RotateHandles();

        //transform.parent.GetComponent<ModelingObject>().PositionHandles();
        //transform.parent.GetComponent<ModelingObject>().RotateHandles();

        TopHandles.SetActive(true);
        BottomHandles.SetActive(true);

        faceBottomScale.SetActive(true);
        faceTopScale.SetActive(true);

        HeightTop.SetActive(true);
        HeightBottom.SetActive(true);

        // change later
        //CenterBottomPosition.SetActive(true);
        //CenterTopPosition.SetActive(true);
    }