Example #1
0
    public void setPosition(GameObject obj)
    {
        Chessman cm = obj.GetComponent <Chessman>();

        positions[cm.getXBoard(), cm.getYBoard()] = obj;
    }