格子扩展
This commit is contained in:
@@ -120,7 +120,7 @@ public class GridSelector : MonoBehaviour
|
||||
inputbuffer.Release();
|
||||
}
|
||||
}
|
||||
private int GetIndexByXY(int x, int y) {
|
||||
public int GetIndexByXY(int x, int y) {
|
||||
int index = x + y * horizontalNumber;
|
||||
return index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user