コード例 #1
0
    private void PopulateIndexes(GameObject placholderGameObject)
    {
        var name   = placholderGameObject.name;
        var size   = name.Length;
        var row    = int.Parse(name[size - 2].ToString());
        var column = int.Parse(name[size - 1].ToString());

        m_coordinate.SetRow(row);
        m_coordinate.SetColumn(column);
    }