Skip to content

Commit

Permalink
Merge pull request #294 from crashkonijn/fix/multi-sensor-missing-key…
Browse files Browse the repository at this point in the history
…s-warning

Fixed tests
  • Loading branch information
crashkonijn authored Nov 7, 2024
2 parents ffa8bd7 + 6d66cda commit a8cf6ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private void ValidateCalledFromConstructor()
);

if (!calledFromConstructor)
throw new InvalidOperationException("Multi sensor registration must be added from the constructor of the sensor, not the Created method.");
UnityEngine.Debug.LogWarning("Multi sensor registration must be added from the constructor of the sensor, not the Created method.");
#endif
}
}
Expand Down

0 comments on commit a8cf6ef

Please sign in to comment.