using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Security; using BITFALL.Cosmetic; using BITKit; using BITKit.Entities; using BITKit.Steamwork; using UnityEngine; using YooAsset; using Object = UnityEngine.Object; namespace BITFALL.Entities.Cosmetic { public class EntityCosmeticService : EntityBehavior { [SerializeReference, SubclassSelector] private ICosmeticService cosmeticService; public override void Initialize(IEntity _entity) { base.Initialize(_entity); _entity.As().AddService(cosmeticService); } public override void OnStart() { base.OnStart(); cosmeticService.SetDirty(); } } }