C# Class GameFramework.Skill.Trigers.TransformTrigger

transform(startime, bone, vector3(position), eular(rotate), relaitve_type, is_attach[, is_use_terrain_height=false][,randomrotate = Vector3.zero]);
Inheritance: AbstractSkillTriger
显示文件 Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
Execute ( object sender, SkillInstance instance, long delta, long curSectionTime ) : bool
Reset ( ) : void

Protected Methods

Method Description
Load ( Dsl callData, SkillInstance instance ) : void
OnClone ( ) : ISkillTriger

Private Methods

Method Description
AttachToObject ( EntityInfo obj, EntityInfo owner ) : void
AttachToObject ( GameObject obj, GameObject owner ) : void
AttachToObjectForRandomRotate ( EntityInfo obj, EntityInfo owner ) : void
AttachToObjectForRandomRotate ( GameObject obj, GameObject owner ) : void
SetTransformRelativeSelf ( EntityInfo obj ) : void
SetTransformRelativeSelf ( GameObject obj ) : void
SetTransformRelativeTarget ( EntityInfo obj, EntityInfo target ) : void
SetTransformRelativeTarget ( GameObject obj, GameObject target ) : void

Method Details

Execute() public method

public Execute ( object sender, SkillInstance instance, long delta, long curSectionTime ) : bool
sender object
instance SkillSystem.SkillInstance
delta long
curSectionTime long
return bool

Load() protected method

protected Load ( Dsl callData, SkillInstance instance ) : void
callData Dsl
instance SkillSystem.SkillInstance
return void

OnClone() protected method

protected OnClone ( ) : ISkillTriger
return ISkillTriger

Reset() public method

public Reset ( ) : void
return void