public void Initialize(ClickFunction _del, string _text) { SetDelegate(_del); text = _text; Activate(); }
public void Initialize(ClickFunction clickFunction) { originalSize = guiTexture.pixelInset; this.clickFunction = clickFunction; counter = 0; }
public void SetDelegate(ClickFunction del) { onclick = del; }