Пример #1
0
 public MapHuman(int serverId, bool hero = false)
 {
     IsHero   = hero;
     Template = TemplateLoader.GetHumanById(serverId);
     if (Template == null)
     {
         Debug.LogFormat("Invalid human created (serverId={0})", serverId);
     }
     else
     {
         InitHuman();
     }
 }