Beispiel #1
0
    // 0 1 2
    // 3 * 4
    // 5 6 7
    public static Vector2Int GetGridSidePosition(Vector3 a_pos, int a_idx)
    {
        Vector2Int pos = LogicUtilTool.GetGridPosition(a_pos);

        return(LogicUtilTool.GetGridSidePosition(pos, a_idx));
    }