コード例 #1
0
 public GambitInternal(GambitInfo info, Character character)
     : base(character)
 {
     character.Pawn.GetSphereSensor()
     .Select(_ => _.character)
     .Where(_ => _ != null)
     .Subscribe(OnTargetEnter);
 }
コード例 #2
0
 public GambitInternal( GambitInfo info, Character character )
     : base(character)
 {
     character.pawn.GetSphereSensor()
         .Select( _ => _.character )
         .Where( _=> _ != null )
         .Subscribe( OnTargetEnter );
 }