public void Initialize(ClickFunction _del, string _text)
    {
        SetDelegate(_del);

        text = _text;

        Activate();
    }
Example #2
0
 public void Initialize(ClickFunction clickFunction)
 {
     originalSize       = guiTexture.pixelInset;
     this.clickFunction = clickFunction;
     counter            = 0;
 }
 public void SetDelegate(ClickFunction del)
 {
     onclick = del;
 }