Exemple #1
0
    public void show(int x, int y)
    {
        show();
        select(0);
        enable(true);

        transform.localPosition = new Vector3(GameDefine.getBattleXBound(x),
                                              GameDefine.getBattleYBound(y) + GameBattleManager.instance.LayerHeight, 0.0f);
    }
 public void setPos(int x, int y)
 {
     transform.localPosition = new Vector3(GameDefine.getBattleXBound(x) - 5,
                                           GameDefine.getBattleYBound(y) + GameBattleManager.instance.LayerHeight + 5, -1.0f);
 }