123456789101112131415161718192021 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class TianJiText : MonoBehaviour
- {
- void Awake()
- {
- Text text =this.GetComponent<Text>();
- if(text!=null)
- {
- Debug.Log("text.color===>"+text.color +"_"+text.name);
- }
- }
-
- Color InvertColorSimple(Color original)
- {
- return new Color(1 - original.r, 1 - original.g, 1 - original.b, original.a);
- }
- }
|