void OnDrawGizmos() { // デバッグとしてシミュレーション領域をワイヤーフレームで描画 Gizmos.color = Color.cyan; Gizmos.DrawWireCube(transform.position, WallSize); } #endregion