Esempio n. 1
0
    void Awake()
    {
        instance = this;

        controller = new MiniMapController();

        poolManager = GetComponent <MiniMapPoolManager>();

        miniMapSize = transform.GetComponent <RectTransform>().sizeDelta;

        elementIconDict = new Dictionary <int, Transform>();

        elementIconParent = transform.FindChild("Mask/ElementParent").transform;

        controller.OnCreate();
    }