public TransformOnCapture(ActorInitializer init, TransformOnCaptureInfo info) { this.info = info; faction = init.Contains <FactionInit>() ? init.Get <FactionInit, string>() : init.Self.Owner.Faction.InternalName; }
public TransformOnCapture(TransformOnCaptureInfo info) { this.info = info; }
public TransformOnCapture(ActorInitializer init, TransformOnCaptureInfo info) { this.info = info; faction = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName; }
public TransformOnCapture(ActorInitializer init, TransformOnCaptureInfo info) { this.info = info; faction = init.GetValue <FactionInit, string>(init.Self.Owner.Faction.InternalName); }