hch
2 天以前 89fa96e505af9fe7baf676591222bfdb23b48262
Main/System/Horse/HorseController.cs
@@ -23,6 +23,7 @@
   {
      if (skinID == _skinID)
      {
         CreateHero(_heroSkinID);
         //避免重复创建
         return;
      }
@@ -81,7 +82,15 @@
   public void CreateHero(int heroSkinID)
   {
      if (instanceGO == null)
        {
         return;
        }
      hero = instanceGO.GetComponentInChildren<UIHeroController>(true);
      if (hero == null)
      {
         return;
      }
      if (heroSkinID == 0)
      {
         hero.SetActive(false);