123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using GameFramework.Event;
- using UnityEngine;
- namespace MetaClient
- {
- public class CustomManager : MonoBehaviour
- {
- public static CustomManager Instance;
- private void Awake()
- {
- Instance = this;
- }
- public void Init()
- {
- GameEntry.Event.Subscribe(CustomRoleFaceEventArgs.EventId, UpdateFace);
- }
- public void Clear()
- {
- GameEntry.Event.Unsubscribe(CustomRoleFaceEventArgs.EventId, UpdateFace);
- }
- private void UpdateFace(object sender, GameEventArgs e)
- {
- }
- }
- }
|