public SkillBase(SkillsComponent skillsComponent, GameObject owner) { this.SkillsComponent = skillsComponent; this.Owner = owner; this.ID = MechanicSingleton.Instance.GetNextObjectCountValue(); this.OwnerId = owner.ID; this.Visible = true; this.Scale = owner.Scale; HitObjectsList = new List<GameObject>(); }
public void SetSkills(SkillsComponent skills) { this.Skills = skills; }