public override void OnStartLocalPlayer()
        {
            CmdSetPlayerId(PlayerPrefs.GetInt("player_id"));
            Piece.MyPointer = this; // カラーを設定

            // 操作方法の決定
            LocalManager localManager = FindObjectOfType <LocalManager> ();

            localManager.AddStartStageClient(this);
            localManager.AddEndStageClient(this);
        }
 public void SwitchAutoMove()
 {
     if (!IsAutoMove)
     {
         StartAutoMove();
         localManager.AddStartStageClient(this);
         localManager.AddEndStageClient(this);
     }
     else
     {
         StopAutoMove();
         localManager.RemoveStartStageClient(this);
         localManager.RemoveEndStageClient(this);
     }
 }