first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80d5cd46de8ca404692849f4a46c2306
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using JetBrains.Annotations;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Unity.VisualScripting
|
||||
{
|
||||
/// <summary>
|
||||
/// Check if a GameObject or StateMachine has a StateGraph
|
||||
/// </summary>
|
||||
[TypeIcon(typeof(StateGraph))]
|
||||
[UnitCategory("Graphs/Graph Nodes")]
|
||||
public sealed class HasStateGraph : HasGraph<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;
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fbd7b60c4f4a7497584ee8214f088e6e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user