initial commit
This commit is contained in:
parent
6715289efe
commit
788c3389af
37645 changed files with 2526849 additions and 80 deletions
|
|
@ -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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue