public static void RemovePressOut(CUIHandle[] array, OnPressOutDelegate OnDelegate) { if (array == null) { return; } foreach (CUIHandle handle in array) { handle.OnCPressOut -= OnDelegate; } }
public static void RemovePressOut(CUIHandle handle, OnPressOutDelegate OnDelegate) { handle.OnCPressOut -= OnDelegate; }
public static void AddPressOut(CUIHandle handle, OnPressOutDelegate OnDelegate) { handle.OnCPressOut += OnDelegate; }