void Start()
        {
            m_Manager = SLOManager.Instance;

            m_EdgeDiameterInput.onEndEdit.AddListener((value) => SetEdgeDiameter(value));
            m_JointLengthInput.onEndEdit.AddListener((value) => SetJoinerLength(value));
            m_FaceThicknessInput.onEndEdit.AddListener((value) => SetFaceThickness(value));
            m_WallThicknessInput.onEndEdit.AddListener((value) => SetWallThickness(value));
            m_ShowFacesToggle.onValueChanged.AddListener((value) => SelectedObj.DisplayFaces = value);
            m_JointTypeDropDown.onValueChanged.AddListener((int i) => SetJointType(i));

            UpdateText();
        }
Esempio n. 2
0
 void Awake()
 {
     m_Instance = this;
 }