Visual Behavior Sorting
Behaviors in DB Inspector now visibly sort according to their execution order
This commit is contained in:
parent
8cd4ea3dc5
commit
3ffd88ade5
13 changed files with 45 additions and 27 deletions
|
|
@ -3,7 +3,7 @@ using System.Linq;
|
|||
using MessagePack;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
[InspectableField, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
[InspectableField, MessagePackObject, JsonObject(MemberSerialization.OptIn), Order(10)]
|
||||
public class HeatData : BehaviorData
|
||||
{
|
||||
[InspectableField, JsonProperty("heat"), Key(1)]
|
||||
|
|
@ -15,7 +15,6 @@ public class HeatData : BehaviorData
|
|||
}
|
||||
}
|
||||
|
||||
[UpdateOrder(10)]
|
||||
public class Heat : IBehavior
|
||||
{
|
||||
private HeatData _data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue