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