예제 #1
0
    public GameObject zeroCam; //미니맵 알파캠(제로)

    private void Awake()
    {
        loading = FindObjectOfType <LoadingScript>();       //로딩창 연결
        portal  = FindObjectOfType <MapPortalMove>();       //포탈오브젝트 연결

        player = GameObject.FindGameObjectWithTag("Player");


        mapText = GameObject.FindGameObjectWithTag("text").GetComponent <Text>();
        midCam  = GameObject.Find("CamAlphaMid");
        zeroCam = GameObject.Find("CamAlphaZero");
    }
예제 #2
0
 public void Awake()
 {
     txtmanager = FindObjectOfType <TextManager>();
     mapText    = FindObjectOfType <MapPortalMove>();
 }