コード例 #1
0
 public void MoveToLvlSelection()
 {
     SecondMenuCollider.GetComponent <BoxCollider2D>().enabled = false;
     rb.velocity = new Vector2(-1800, rb.velocity.y);
 }
コード例 #2
0
 public void MoveToMain()
 {
     SecondMenuCollider.GetComponent <BoxCollider2D>().enabled = true;
     rb.velocity = new Vector2(-1800, rb.velocity.y);
 }