Ejemplo n.º 1
0
 void OnEnable()
 {
     //	Example of what you can do when an item is selected
     config             = gameObject.GetComponent <SelectionBoxConfig> ();
     config.ItemPicked += DoThing;
 }
 public void Setup()
 {
     selectionBoxConfig = gameObject.GetComponentInParent<SelectionBoxConfig> ();
     gameObject.GetComponent<RippleConfig>().highlightWhen = RippleConfig.HighlightActive.Never;
 }
Ejemplo n.º 3
0
 public void Setup()
 {
     selectionBoxConfig = gameObject.GetComponentInParent <SelectionBoxConfig> ();
 }
		void OnEnable ()
		{
			//	Example of what you can do when an item is selected
			config = gameObject.GetComponent<SelectionBoxConfig> ();
			config.ItemPicked += DoThing;
		}
Ejemplo n.º 5
0
 public void Setup()
 {
     selectionBoxConfig = gameObject.GetComponentInParent <SelectionBoxConfig> ();
     gameObject.GetComponent <RippleConfig>().highlightWhen = RippleConfig.HighlightActive.Never;
 }