public override void Init(ICarLoseProcessor processor, ICarSettings settings) { this.processor = processor; this.settings = settings; body = GetComponent <Rigidbody2D>(); }
public override void Init(ICarLoseProcessor processor, ICarSettings settings) { this.processor = processor ?? throw new ArgumentNullException(nameof(processor)); }
public abstract void Init(ICarLoseProcessor processor, ICarSettings settings);