Inheritance: MonoBehaviour
示例#1
0
    void Awake()
    {
        _instance = this;

        text_content = this.gameObject.GetComponent<Text>();
        ani_control = this.gameObject.GetComponent<Animator>();
    }
示例#2
0
    void Awake()
    {
        _instance = this;

        text_content = this.gameObject.GetComponent <Text>();
        ani_control  = this.gameObject.GetComponent <Animator>();
    }