
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
20 lines
624 B
C#
20 lines
624 B
C#
using JetBrains.Annotations;
|
|
|
|
namespace Unity.VisualScripting
|
|
{
|
|
/// <summary>
|
|
/// Set a StateGraphAsset to a StateMachine
|
|
/// </summary>
|
|
[TypeIcon(typeof(StateGraph))]
|
|
public class SetStateGraph : SetGraph<StateGraph, StateGraphAsset, StateMachine>
|
|
{
|
|
/// <summary>
|
|
/// The type of object that handles the graph.
|
|
/// </summary>
|
|
[Serialize, Inspectable, UnitHeaderInspectable, UsedImplicitly]
|
|
public StateGraphContainerType containerType { get; set; }
|
|
|
|
protected override bool isGameObject => containerType == StateGraphContainerType.GameObject;
|
|
}
|
|
}
|