
csharp
닫기using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
public class TestMain : MonoBehaviour
{
private int[,] str =
{
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0}
};
// Start is called before the first frame update
void Start()
{
StringBuilder sb = new StringBuilder();
for(int i = 0; i < 7; i++)
{
for(int j = 0; j < 7; j++)
{
sb.Append($"{str[i, j]}, ");
}
sb.Append("\n");
}
Debug.Log(sb.ToString());
}
}
'워리어 콤보 모작 개발일지' 카테고리의 다른 글
워리어콤보 개발일지 - 좌표찍기 (0) | 2023.09.16 |
---|---|
워리어콤보 개발일지 - Test [보드생성] (0) | 2023.09.15 |
워리어콤보 모작 개발일지 - 04 [StageInfo, StageReader][연습] (0) | 2023.09.14 |
워리어콤보 모작 개발일지 - 03 [Block][연습] (0) | 2023.09.14 |
워리어콤보 모작 개발일지 - 02 [3 Match Puzzle - Board][연습] (0) | 2023.09.13 |