示例#1
0
        void OnStructureStatsChanged(StructureStatsChangedEventData e)
        {
            var structure = GetStructure(e.Team, e.Type);

            if (structure != null)
            {
                structure.Structure.SetHealth(e.Health);
            }
        }
示例#2
0
		void OnStructureStatsChanged(StructureStatsChangedEventData e)
		{
			var structure = GetStructure(e.Team, e.Type);
			if (structure != null) {
				structure.Structure.SetHealth(e.Health);
			}
		}