void OnTriggerEnter(Collider collider) { toggle.ButtonTurnsOn(); effect.gameObject.GetComponent <ParticleRenderer> ().enabled = true; str = enhance.GetComponent <EnhancelScrollView> ().centerItem.name.ToString(); //Debug.Log ("asdfasdfasvafcd"); FileLoad.getFileLoadInstance().setEnhance(str); }
// Use this for initialization void OnTriggerEnter(Collider collider) { toggle.ButtonTurnsOn(); effect.gameObject.GetComponent <ParticleRenderer> ().enabled = true; }