Files
AppleHillsProduction/Assets/Scripts/Minigames/Airplane/Interactive/ISpawnInitializable.cs
2025-12-08 12:56:17 +01:00

17 lines
561 B
C#

namespace Minigames.Airplane.Interactive
{
/// <summary>
/// Interface for objects that need initialization after being spawned and positioned.
/// The spawn manager will call Initialize() after setting the object's position.
/// </summary>
public interface ISpawnInitializable
{
/// <summary>
/// Called by the spawn manager after the object has been instantiated and positioned.
/// Use this to cache position-dependent state instead of using Awake().
/// </summary>
void Initialize();
}
}