17 lines
561 B
C#
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();
|
|
}
|
|
}
|
|
|