Skip to content

Commit

Permalink
chore: MonoSingleton -> Instantiate method is back to public to preve…
Browse files Browse the repository at this point in the history
…nt backward compatibility ptoblems.
  • Loading branch information
stan-osipov committed Jul 17, 2024
1 parent 252d4ed commit ab477cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/Patterns/Singleton/MonoSingleton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static T Instance
/// But it may be useful if you want manually control when the instance is created,
/// even if you do not this specific instance at the moment
/// </summary>
static void Instantiate()
public static void Instantiate()
{
if (HasInstance)
{
Expand Down

0 comments on commit ab477cb

Please sign in to comment.