Update methods to be internal, remove invocation bloat
This commit is contained in:
@@ -47,7 +47,7 @@ namespace Data.CardSystem
|
||||
|
||||
public override int ManagedAwakePriority => 60; // Data systems
|
||||
|
||||
protected override void OnManagedAwake()
|
||||
internal override void OnManagedAwake()
|
||||
{
|
||||
// Set instance immediately (early initialization)
|
||||
_instance = this;
|
||||
@@ -56,7 +56,7 @@ namespace Data.CardSystem
|
||||
LoadCardDefinitionsFromAddressables();
|
||||
}
|
||||
|
||||
protected override void OnManagedStart()
|
||||
internal override void OnManagedStart()
|
||||
{
|
||||
Logging.Debug("[CardSystemManager] Initialized");
|
||||
}
|
||||
@@ -718,13 +718,13 @@ namespace Data.CardSystem
|
||||
|
||||
#region Save/Load Lifecycle Hooks
|
||||
|
||||
protected override string OnGlobalSaveRequested()
|
||||
internal override string OnGlobalSaveRequested()
|
||||
{
|
||||
var state = ExportCardCollectionState();
|
||||
return JsonUtility.ToJson(state);
|
||||
}
|
||||
|
||||
protected override void OnGlobalRestoreRequested(string serializedData)
|
||||
internal override void OnGlobalRestoreRequested(string serializedData)
|
||||
{
|
||||
if (string.IsNullOrEmpty(serializedData))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user