Ejemplo n.º 1
0
 public GambitInternal(GambitInfo info, Character character)
     : base(character)
 {
     character.Pawn.GetSphereSensor()
     .Select(_ => _.character)
     .Where(_ => _ != null)
     .Subscribe(OnTargetEnter);
 }
Ejemplo n.º 2
0
 public GambitInternal( GambitInfo info, Character character )
     : base(character)
 {
     character.pawn.GetSphereSensor()
         .Select( _ => _.character )
         .Where( _=> _ != null )
         .Subscribe( OnTargetEnter );
 }