Beispiel #1
0
 public void MoveRight()
 {
     m_Pos.x += 1;
     if (OnBlockMove != null)
     {
         OnBlockMove.Invoke();
     }
 }
Beispiel #2
0
 public void MoveLeft()
 {
     m_Pos.x -= 1;
     if (OnBlockMove != null)
     {
         OnBlockMove.Invoke();
     }
 }