Update methods to be internal, remove invocation bloat

This commit is contained in:
Michal Pikulski
2025-11-10 21:59:47 +01:00
parent 01caca1878
commit a049c6a750
42 changed files with 137 additions and 136 deletions

View File

@@ -32,7 +32,7 @@ namespace PuzzleS
// Enum for tracking proximity state (simplified to just Close and Far)
public enum ProximityState { Close, Far }
protected override void OnManagedAwake()
internal override void OnManagedAwake()
{
_interactable = GetComponent<InteractableBase>();
@@ -58,7 +58,7 @@ namespace PuzzleS
}
}
protected override void OnManagedStart()
internal override void OnManagedStart()
{
// Register with PuzzleManager - safe to access .Instance here
if (stepData != null && PuzzleManager.Instance != null)