using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class DropdownPos : MonoBehaviour
{
    public RectTransform rect;
    public float sizeY = 40f;
    public Dropdown drop;

    // Start is called before the first frame update
    void Start()
    {
        rect.anchoredPosition = new Vector2(0, sizeY * drop.value);
    }
}