// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
namespace Stride.Core.MicroThreading;
[Flags]
public enum ScriptFlags
{
///
/// Empty value.
///
None = 0,
///
/// Automatically run on assembly startup.
///
AssemblyStartup = 1,
///
/// Automatically run on assembly first startup (not executed if assembly is reloaded).
///
AssemblyFirstStartup = 2,
///
/// Automatically run on assembly unload.
///
AssemblyUnload = 4,
// TODO: Not implemented yet
///
/// MicroThread won't be killed if assembly is unloaded (including reload).
///
KeepAliveWhenUnload = 8,
}