// クリティカルヒットの攻撃相手保存(ID) public void AddCriticalPoint(int hitplayerID, int myPlayerID) { Debug.Log(myPlayerID + ":攻撃者 " + hitplayerID + ":被害者"); m_attackPointData[hitplayerID - 1] += m_costManager.CriticalPoint; m_costManager.SaveBattleCostData(myPlayerID, GetAllPoint()); }