Skip to content

Commit 0e5ee04

Browse files
2 parents 2670788 + e0bf9f9 commit 0e5ee04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/EntityComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void GetComponentToProperty<UnityComponentType> (ref UnityComponentType e
6262
/// <typeparam name="UnityComponentType">The Component type.</typeparam>
6363
/// <returns>A reference to the Component.</returns>
6464
/// <exception cref="System.Exception"></exception>
65-
private UnityComponentType GetComponentOrThrow<UnityComponentType> () {
65+
public UnityComponentType GetComponentOrThrow<UnityComponentType> () {
6666
var _component = this.GetComponent<UnityComponentType> ();
6767
if (_component != null)
6868
return _component;

0 commit comments

Comments
 (0)