| | |
| | | |
| | | public override void OnInspectorGUI() |
| | | { |
| | | GradientText targetComponent = target as GradientText; |
| | | |
| | | base.OnInspectorGUI(); |
| | | |
| | | EditorGUILayout.Space(); |
| | | |
| | | // 语言表 key 设置 |
| | | EditorGUILayout.BeginHorizontal(); |
| | | EditorGUILayout.LabelField("语言表key", GUILayout.Width(60)); |
| | | targetComponent.language = EditorGUILayout.Toggle(targetComponent.language, GUILayout.Width(30)); |
| | | targetComponent.enableDisplay = EditorGUILayout.TextField(targetComponent.enableDisplay, GUILayout.Width(200)); |
| | | EditorGUILayout.EndHorizontal(); |
| | | |
| | | EditorGUILayout.Space(); |
| | | EditorGUILayout.LabelField("渐变设置", EditorStyles.boldLabel); |
| | | |
| | | serializedObject.Update(); |