public static IObservable <Unit> OnButtonUpAsObservable(this Component component, string buttonName) =>
 ButtonInputUtil.CreateSubject(ButtonInputUtil.InputType.GetButtonUp, buttonName)
 .TakeUntilDestroy(component);
コード例 #2
0
 public static IObservable <Unit> GetButtonUp(string buttonName) =>
 ButtonInputUtil.CreateSubject(ButtonInputUtil.InputType.GetButtonUp, buttonName);