本文整理汇总了C#中System.Entity.DetechAbility方法的典型用法代码示例。如果您正苦于以下问题:C# Entity.DetechAbility方法的具体用法?C# Entity.DetechAbility怎么用?C# Entity.DetechAbility使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Entity
的用法示例。
在下文中一共展示了Entity.DetechAbility方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: _RiseAbility
protected override void _RiseAbility(Entity.AbilitySet abilitys)
{
abilitys.DetechAbility<IObserveAbility>();
abilitys.DetechAbility<IObservedAbility>();
abilitys.DetechAbility<ICrossAbility>();
base._RiseAbility(abilitys);
}
示例2: _RiseAbility
protected override void _RiseAbility(Entity.AbilitySet abilitys)
{
abilitys.DetechAbility<PhysicalAbility>();
abilitys.DetechAbility<IMoverAbility>();
}
示例3: _RiseAbility
protected override void _RiseAbility(Entity.AbilitySet abilitys)
{
abilitys.DetechAbility<Regulus.Physics.IQuadObject>();
abilitys.DetechAbility<PhysicalAbility>();
}
示例4: _RiseAbility
/// <summary>
/// 移除功能
/// </summary>
/// <param name="abilitys">現有功能Dict</param>
protected override void _RiseAbility(Entity.AbilitySet abilitys)
{
abilitys.DetechAbility<IObserveAbility>();
}
示例5: _CrossAbility_MoveEvent
/*public event Action<string, Types.Vector2, string, Types.Vector2> CrossEvent;
void _CrossAbility_MoveEvent(string target_map, Types.Vector2 target_position)
{
if (CrossEvent != null)
CrossEvent(target_map, target_position, _DBActorInfomation.Property.Map, _DBActorInfomation.Property.Position );
CrossEvent = null;
}*/
/// <summary>
/// 移除功能
/// </summary>
/// <param name="abilitys">現有功能Dict</param>
protected override void _RiseAbility(Entity.AbilitySet abilitys)
{
abilitys.DetechAbility<Session.StuffTeacher>();
abilitys.DetechAbility<Session.StuffStudent>();
abilitys.DetechAbility<IObserveAbility>();
abilitys.DetechAbility<IObservedAbility>();
abilitys.DetechAbility<ICrossAbility>();
base._RiseAbility(abilitys);
}
示例6: _RiseAbility
/// <summary>
/// 移除功能
/// </summary>
/// <param name="abilitys">現有功能Dict</param>
protected override void _RiseAbility(Entity.AbilitySet abilitys)
{
abilitys.DetechAbility<IActorPropertyAbility>();
abilitys.DetechAbility<IActorUpdateAbility>();
abilitys.DetechAbility<ISkillCaptureAbility>();
abilitys.DetechAbility<IBehaviorCommandAbility>();
abilitys.DetechAbility<IBehaviorAbility>();
abilitys.DetechAbility<IMoverAbility>();
abilitys.DetechAbility<PhysicalAbility>();
}