コード例 #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);
 }