Esempio n. 1
0
 void ClickEgg()
 {
     if (Singleton <ObjManager> .GetInstance().MainPlayer != null)
     {
         if (GlobeVar.INVALID_GUID != m_Guid)
         {
             FlowerEggWindow.ShowFlowerEgg(m_Guid, FlowerEggWindow.ShowType.EGG);
         }
     }
 }
Esempio 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);
 }
Esempio 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);
    }
Esempio n. 4
0
 //砸蛋
 void PopMenuSendEgg()
 {
     FlowerEggWindow.ShowFlowerEgg(m_PopMenuSelectGuid, FlowerEggWindow.ShowType.EGG);
 }
Esempio n. 5
0
 //送花
 void PopMenuSendFlower()
 {
     FlowerEggWindow.ShowFlowerEgg(m_PopMenuSelectGuid, FlowerEggWindow.ShowType.FLOWER);
 }