Some more airplane game doodles
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user