void Start() { Black = GameObject.Find("Black").GetComponent <Image>(); talkText.text = "여기는 통신병, 임무 수행을 원활하게 진행하기 위해서 방침을 알려주겠다"; timer = 0.0f; waitingTime = 2; Enemy1.SetActive(false); x_prefab.gameObject.SetActive(false); o_prefab.gameObject.SetActive(false); dbr = GameObject.Find("DistantMap").GetComponent <DistantBackgroundRepeating>(); mr = GameObject.Find("FrontMap_Tutorials").GetComponent <MapRepeating>(); }
private void Awake() { map = FindObjectOfType <MapRepeating>(); }