예제 #1
0
    public static void sub_playerEventList_(UpdateManage updatemanage)
    {
        UpdateManager managers = getUpdateManges();

        if (managers.playerEventList_Update != null)
        {
            managers.playerEventList_Update -= updatemanage;
        }
    }
예제 #2
0
    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;
        }
    }