diff options
Diffstat (limited to 'Thronefall_v1.0/Decompile/LimitedLifetime.cs')
-rw-r--r-- | Thronefall_v1.0/Decompile/LimitedLifetime.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Decompile/LimitedLifetime.cs b/Thronefall_v1.0/Decompile/LimitedLifetime.cs new file mode 100644 index 0000000..1d99757 --- /dev/null +++ b/Thronefall_v1.0/Decompile/LimitedLifetime.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +public class LimitedLifetime : MonoBehaviour +{ + public float liftetime = 5f; + + private void Start() + { + Object.Destroy(base.gameObject, liftetime); + } +} |