|
@@ -17,6 +17,12 @@ namespace KairoEngine.UI.InteractionHandler
|
|
|
if(receiver != null) receiver.OnClick(title);
|
|
|
//else Debug.LogError("ClickHandler has no receiver!", this.gameObject);
|
|
|
}
|
|
|
+
|
|
|
+ public void Setup(string title, IClickHandler receiver)
|
|
|
+ {
|
|
|
+ this.title = title;
|
|
|
+ this.receiver = receiver;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|