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(); } }
void Awake() { MManege = GameObject.Find("MAPCreate").GetComponent <MapManege>(); }
void Start() { SE.GetComponent <soundContolloer>(); MManege = GameObject.Find("MAPCreate").GetComponent <MapManege>(); target = transform.position; }