标签: unity3d
我在场景中已经有一个图块
我如何获得tileB?
tileB
public Tile tileA; //assigned in Inspector bool Compare(Vector3 pos) { Tile tileB = ...?... //(Get the tile placed in pos from tilemap) return tileA == tileB; }