示例#1
0
	void Start () {
        obj_keeper = GameObject.FindGameObjectWithTag("GLOBAL_keeper");
        keeper = obj_keeper.GetComponent<Keeper>();
        obj_fade = GameObject.FindGameObjectWithTag("GLOBAL_fade");
        fade = obj_fade.GetComponent<Fade>();
        if (fade_on_start)
        {
            fade.EndFade();
        }
	}