Пример #1
0
    public void stairs()
    {
        print("階段");

        MapManege move = GameObject.Find("MAPCreate").GetComponent <MapManege>();

        move.StairsUP();
    }
Пример #2
0
 void OnTriggerEnter2D(Collider2D other)
 {
     if (other.tag == "Player")
     {
         SE.select_SE(4);
         MapManege move = GameObject.Find("MAPCreate").GetComponent <MapManege>();
         move.StairsUP();
     }
 }