public static void BindBtnFunc(Transform t, string path, UnityEngine.Events.UnityAction action) { Button btn = UtilHelper.Find <Button>(t, path); if (btn != null) { btn.onClick.AddListener(action); } }
public override void Init() { slider = UtilHelper.Find <Slider>(transform, "Slider"); }
public override void Init() { fadeImage = UtilHelper.Find <Image>(transform, "Image"); }