public static void sub_playerEventList_(UpdateManage updatemanage) { UpdateManager managers = getUpdateManges(); if (managers.playerEventList_Update != null) { managers.playerEventList_Update -= updatemanage; } }
public static void add_playerEventList_(UpdateManage updatemanage) { UpdateManager managers = getUpdateManges(); if (managers.playerEventList_Update == null || !managers.playerEventList_Update.GetInvocationList().Contains(updatemanage)) { managers.playerEventList_Update += updatemanage; } }