Exemplo n.º 1
0
        public InspectorStringView MakeEditSerializedStringView(ITweakable tweakable, ITweakerSerializer serializer)
        {
            InspectorStringView inspectorStringView = inspectorView.InstantiateInspectorComponent(inspectorView.StringEditPrefab);

            inspectorStringView.InputText.targetGraphic.color = successColor;
            inspectorStringView.StartCoroutine(delayInitEditSerializedStringView(inspectorStringView, tweakable, serializer));
            return(inspectorStringView);
        }
Exemplo n.º 2
0
        public InspectorStringView MakeEditStringView(ITweakable tweakable)
        {
            InspectorStringView inspectorStringView = inspectorView.InstantiateInspectorComponent(inspectorView.StringEditPrefab);

            inspectorStringView.gameObject.SetActive(value: true);
            inspectorStringView.InputText.targetGraphic.color = successColor;
            inspectorStringView.StartCoroutine(delayInitEditStringView(inspectorStringView, tweakable));
            return(inspectorStringView);
        }