| 123456789101112131415161718192021 |
- using System;
- using UnityEngine;
- namespace ShipDecorations
- {
- public class CoroutineManager : MonoBehaviour
- {
- Action action;
- public void SetAction(Action action)
- {
- this.action = action;
- }
- void OnEnable()
- {
- if (action != null)
- action.Invoke();
- }
- }
- }
|