chore: initial commit

This commit is contained in:
2026-05-08 11:04:00 +08:00
commit f55d2a57c3
6278 changed files with 866081 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#if GRAPH_DESIGNER
/// ---------------------------------------------
/// Behavior Designer
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.BehaviorDesigner.Runtime.Groups
{
using System;
using Unity.Entities;
using UnityEngine;
/// <summary>
/// Group that executes all of the tasks.
/// </summary>
[UpdateInGroup(typeof(TraversalSystemGroup))]
public partial class TraversalTaskSystemGroup : ComponentSystemGroup
{
[Tooltip("Callback before the outher tasks are updated.")]
public Action OnPreUpdate;
[Tooltip("Callback after the outher tasks are updated.")]
public Action OnPostUpdate;
/// <summary>
/// Updates the group.
/// </summary>
protected override void OnUpdate()
{
if (OnPreUpdate != null) {
OnPreUpdate();
}
base.OnUpdate();
if (OnPostUpdate != null) {
OnPostUpdate();
}
}
}
}
#endif