Пример #1
0
    public void Init()
    {
        if (hasInitialized)
        {
            return;
        }

        hasInitialized = true;
        this.View      = new WeenusUI(this);
        Button b = this.GetComponent <Button>();

        b.onClick.AddListener(CloseModal);
    }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     View = new WeenusUI(this);
 }