commit;

  • 홈
  • 태그

GameBoard 1

Grid System (1) - 격자 구조 만들기

Unity에서 Grid System은 퍼즐, 보드 게임에서 많이 사용된다. 가로 길이(width)와 세로 길이(height)가 있는 2차원 좌표계의 게임 보드를 만들어보자. 1. 개념 구현 Grid class 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 public class TestGrid { private int _width; private int _height; private int _cellSize; private int[,] _gridArray; private TextMesh[,] _textMeshes; public Tes..

Unity & C# 2020.05.10
1
더보기
  • 분류 전체보기 (61)
    • NAS (13)
    • Unity & C# (19)
      • Scripting (6)
      • Graphics (1)
      • Bugs & Crash (1)
      • iOS & Mac (2)
      • Machine Learning (2)
      • 최적화 (1)
    • Sever & Database (1)
    • Design Pattern (6)
    • 알고리즘 문제풀이(Python) (9)
    • 30Day Challenges (8)
    • Thoughts (5)

최근글과 인기글

  • 최근글
  • 인기글

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Archives

Copyright © Kakao Corp. All rights reserved.

티스토리툴바