public void stairs() { print("階段"); MapManege move = GameObject.Find("MAPCreate").GetComponent <MapManege>(); move.StairsUP(); }
void OnTriggerEnter2D(Collider2D other) { if (other.tag == "Player") { SE.select_SE(4); MapManege move = GameObject.Find("MAPCreate").GetComponent <MapManege>(); move.StairsUP(); } }