Exemplo n.º 1
0
 void ClickEgg()
 {
     if (Singleton <ObjManager> .GetInstance().MainPlayer != null)
     {
         if (GlobeVar.INVALID_GUID != m_Guid)
         {
             FlowerEggWindow.ShowFlowerEgg(m_Guid, FlowerEggWindow.ShowType.EGG);
         }
     }
 }
Exemplo n.º 2
0
 void OnClickEgg()
 {
     if (m_Guid == GlobeVar.INVALID_GUID)
     {
         return;
     }
     if (m_Guid == Singleton <ObjManager> .Instance.MainPlayer.GUID)
     {
         return;
     }
     FlowerEggWindow.ShowFlowerEgg(m_Guid, FlowerEggWindow.ShowType.EGG);
 }
Exemplo n.º 3
0
    // 扔花
    public void onFlower()
    {
        if (m_playerGuid == GlobeVar.INVALID_GUID)
        {
            return;
        }

        if (m_playerGuid == Singleton <ObjManager> .Instance.MainPlayer.GUID)
        {
            return;
        }

        FlowerEggWindow.ShowFlowerEgg(m_playerGuid, FlowerEggWindow.ShowType.FLOWER);
    }
Exemplo n.º 4
0
 //砸蛋
 void PopMenuSendEgg()
 {
     FlowerEggWindow.ShowFlowerEgg(m_PopMenuSelectGuid, FlowerEggWindow.ShowType.EGG);
 }
Exemplo n.º 5
0
 //送花
 void PopMenuSendFlower()
 {
     FlowerEggWindow.ShowFlowerEgg(m_PopMenuSelectGuid, FlowerEggWindow.ShowType.FLOWER);
 }