示例#1
0
 protected override void ReleaseSelf(bool calledDestroy)
 {
     if (SystemConfig.IsReleaseResourceOn)
     {
         FriendUIView.Instance      = null;
         FriendUIViewModel.Instance = null;
         base.ReleaseSelf(true);
     }
 }
示例#2
0
    public static void OpenFriendUI()
    {
        if (!SystemOpenManager.IsSystemClickOpen(79, 0, true))
        {
            return;
        }
        FriendUIView friendUIView = UIManagerControl.Instance.OpenUI("FriendUI", UINodesManager.NormalUIRoot, true, UIType.Pop) as FriendUIView;

        friendUIView.get_transform().SetAsLastSibling();
        FriendUIViewModel.Instance.SetChannel(0);
    }
示例#3
0
 private void Awake()
 {
     FriendUIView.Instance = this;
     base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false);
 }