当前位置: 首页>>代码示例>>C#>>正文


C# Entity.DetechAbility方法代码示例

本文整理汇总了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);
        }
开发者ID:jiowchern,项目名称:Regulus,代码行数:8,代码来源:Player.cs

示例2: _RiseAbility

 protected override void _RiseAbility(Entity.AbilitySet abilitys)
 {
     abilitys.DetechAbility<PhysicalAbility>();
     abilitys.DetechAbility<IMoverAbility>();
 }
开发者ID:kof1016,项目名称:Regulus,代码行数:5,代码来源:StaticEntity.cs

示例3: _RiseAbility

 protected override void _RiseAbility(Entity.AbilitySet abilitys)
 {
     abilitys.DetechAbility<Regulus.Physics.IQuadObject>();
     abilitys.DetechAbility<PhysicalAbility>();
 }
开发者ID:kof1016,项目名称:Regulus,代码行数:5,代码来源:Actor.cs

示例4: _RiseAbility

 /// <summary>
 /// 移除功能
 /// </summary>
 /// <param name="abilitys">現有功能Dict</param>
 protected override void _RiseAbility(Entity.AbilitySet abilitys)
 {
     abilitys.DetechAbility<IObserveAbility>();
 }
开发者ID:jiowchern,项目名称:Regulus,代码行数:8,代码来源:PortalEntity.cs

示例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);
        }
开发者ID:jiowchern,项目名称:Regulus,代码行数:21,代码来源:Player.cs

示例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>();
        }
开发者ID:jiowchern,项目名称:Regulus,代码行数:15,代码来源:Actor.cs


注:本文中的System.Entity.DetechAbility方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。