Exemple #1
0
 void OnDestroy()
 {
     DestroyPartnerFakeObj();
     m_Instance = null;
     if (GameManager.gameManager.ActiveScene != null)
     {
         GameManager.gameManager.ActiveScene.HideFakeObj();
     }
 }
 public string GetCurEquipIcon(int indexSlot)
 {
     if (OtherRoleViewLogic.Instance())
     {
         int index = OtherRoleViewLogic.Instance().GetIndexByEquipSlot(indexSlot);
         return(OtherRoleViewLogic.Instance().GetEquipSlotIcon(index));
     }
     return("");
 }
Exemple #3
0
    public static void OnShowOtherRoleVirew(bool bSuccess, object param)
    {
        if (!bSuccess)
        {
            LogModule.ErrorLog("load OtherRoleViewLogic error");
            return;
        }

        if (null != OtherRoleViewLogic.Instance())
        {
            OtherRoleViewLogic.Instance().ShowOtherRoleView();
        }
    }
Exemple #4
0
 void Awake()
 {
     m_Instance = this;
 }