Skip to content

Commit ed3dfa1

Browse files
Minor changes in protection
1 parent bcd92aa commit ed3dfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Service.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public abstract class Service<ServiceType> : IService
88
private bool isInitialized = false;
99

1010
/// An instance reference to the service.
11-
public static ServiceType Instance { get; } = null;
11+
public static ServiceType Instance { private set; get; } = null;
1212

1313
/// Method invoked when the service will initialize.
1414
public virtual void OnInitialize () { }

0 commit comments

Comments
 (0)