示例#1
0
 protected override void OnInitialize()
 {
     base.OnInitialize();
     CPComponent         = this.GetDependency <CombatPropertiesComponent>();
     SEAComponent        = Parent.GetComponent <StatusEffectPropertiesComponent>();
     AttributesComponent = this.GetDependency <AttributesComponent>();
     _Timer = TimeSpan.Zero;
 }
示例#2
0
 protected override void OnInitialize()
 {
     base.OnInitialize();
     AttributesComponent = this.GetDependency<AttributesComponent>();
     SEAComponent = Parent.GetComponent<StatusEffectPropertiesComponent>();
     CPComponent = this.GetDependency<CombatPropertiesComponent>();
     PC = this.GetDependency<PhysicsComponent>();
 }