Skip to content

mavriel/UniRxForNGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UniRxForNGUI

There are UniRx helper classes for NGUI.

[SerializedField] GameObject btn;
[SerializedField] UIInput input;

void Start() {
	btn.OnClickAsObservable().Subscribe( _ => Debug.Log("Clicked") ).AddTo(this);

	input.OnChangeAsObservable().Subscribe( t => Debug.Log(t) ).AddTo(this);
}

About

UniRx plugin for NGUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages