Esempio n. 1
0
    private void Awake()
    {
        this._auxPageHeaderGO = this.transform.Find("AuxPageHeader").gameObject;
        var scaleComboBox = this.transform.Find("ScaleComboBox").gameObject;

        this._scaleDropDownLabelGO = scaleComboBox.transform.Find("Label").gameObject;
        this._scaleDropDownListGO  = scaleComboBox.transform.Find("Dropdown").gameObject;

        var positionDeltaComboBox = this.transform.Find("PositionDeltaComboBox").gameObject;

        this._positionDeltaDropDownLabelGO = positionDeltaComboBox.transform.Find("Label").gameObject;
        this._positionDeltaDropDownListGO  = positionDeltaComboBox.transform.Find("Dropdown").gameObject;

        var rotationDeltaComboBox = this.transform.Find("RotationDeltaComboBox").gameObject;

        this._rotationDeltaDropDownLabelGO = rotationDeltaComboBox.transform.Find("Label").gameObject;
        this._rotationDeltaDropDownListGO  = rotationDeltaComboBox.transform.Find("Dropdown").gameObject;

        this._auxPageHeader              = this._auxPageHeaderGO.GetComponent <AuxPageHeader>();
        this._scaleDropDownLabel         = this._scaleDropDownLabelGO.GetComponent <TextMeshProUGUI>();
        this._scaleDropDownList          = this._scaleDropDownListGO.GetComponent <TMP_Dropdown>();
        this._positionDeltaDropDownLabel = this._positionDeltaDropDownLabelGO.GetComponent <TextMeshProUGUI>();
        this._positionDeltaDropDownList  = this._positionDeltaDropDownListGO.GetComponent <TMP_Dropdown>();
        this._rotationDeltaDropDownLabel = this._rotationDeltaDropDownLabelGO.GetComponent <TextMeshProUGUI>();
        this._rotationDeltaDropDownList  = this._rotationDeltaDropDownListGO.GetComponent <TMP_Dropdown>();
    }
Esempio n. 2
0
    private void Awake()
    {
        this._auxPageHeaderGO = this.transform.Find("AuxPageHeader").gameObject;
        this._linkButtonGO    = this.transform.Find("LinkButton").gameObject;

        this._auxPageHeader = this._auxPageHeaderGO.GetComponent <AuxPageHeader>();
        this._linkButton    = this._linkButtonGO.GetComponent <LinkButton>();
    }