Пример #1
0
 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>();
 }
Пример #2
0
 public void SetSkills(SkillsComponent skills)
 {
     this.Skills = skills;
 }