public static void NoEventRelease(GameObject button) { UITouchAndRelease component = button.GetComponent <UITouchAndRelease>(); if (Object.op_Implicit(component)) { component.touched = false; } }
public static void Set(GameObject button, string touch_event_name, string release_event_name = null, object event_data = null) { if (!(button.GetComponent <UIButton>() == null)) { UITouchAndRelease uITouchAndRelease = button.GetComponent <UITouchAndRelease>(); if (uITouchAndRelease == null) { uITouchAndRelease = button.AddComponent <UITouchAndRelease>(); } uITouchAndRelease.touchEventName = touch_event_name; uITouchAndRelease.releaseEventName = release_event_name; uITouchAndRelease.eventData = event_data; } }
} //IL_0010: Unknown result type (might be due to invalid IL or missing references) //IL_0015: Unknown result type (might be due to invalid IL or missing references) //IL_002a: Unknown result type (might be due to invalid IL or missing references) //IL_002f: Unknown result type (might be due to invalid IL or missing references) protected void Awake() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_0045: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) UILongTouch.Set(longTouchTarget, "EVOLVE", null); UITouchAndRelease.Set(longTouchTarget, "EVOLVE_TOUCH", null, null); effectTrans = EffectManager.GetUIEffect("ef_ui_skillgauge_blue_01", gauge.get_transform().get_parent(), 0f, 1, gauge); if (!object.ReferenceEquals(effectTrans, null)) { effectTrans.get_gameObject().SetActive(false); } }