Unity/코드 예제들
타일맵
소나무꼴
2021. 4. 2. 21:51
타일맵 좌표 얻어서 적용 시키기
int x = 0, y = 0;
Vector3 pos = mTilemap.GetCellCenterLocal(new Vector3Int(x, y, 0));
charBase.transform.localPosition = pos;