Class GraphComponent<TGraph, TGraphAsset>
Inheritance
GraphComponent<TGraph, TGraphAsset>
Syntax
[Obsolete("Use the new class component to attach graphs to game objects.")]
public abstract class GraphComponent<TGraph, TGraphAsset> : LudiqComponent, ILudiqRootObject, ISupportsPrefabSerialization, IGraphComponent, IGraphRoot, IGraphRootSerializer, IGraphNester, IGraphParent, ISerializationDepender, ISerializationCallbackReceiver where TGraph : class, IGraph where TGraphAsset : GraphAsset<TGraph>
Type Parameters
Name |
Description |
TGraph |
|
TGraphAsset |
|
Constructors
GraphComponent()
Declaration
protected GraphComponent()
Fields
_alive
Declaration
[DoNotSerialize]
protected bool _alive
Field Value
_enabled
Declaration
[DoNotSerialize]
protected bool _enabled
Field Value
Properties
graph
Declaration
[DoNotSerialize]
public TGraph graph { get; }
Property Value
graphData
Declaration
[DoNotSerialize]
public IGraphData graphData { get; }
Property Value
Implements
instance
Declaration
[DoNotSerialize]
public GraphReference instance { get; }
Property Value
Implements
isInstantiated
Declaration
[DoNotSerialize]
public bool isInstantiated { get; }
Property Value
nest
Declaration
[Serialize]
public GraphNest<TGraph, TGraphAsset> nest { get; }
Property Value
Type |
Description |
GraphNest<TGraph, TGraphAsset> |
|
Methods
Awake()
Declaration
protected virtual void Awake()
OnAfterDependenciesDeserialized()
Declaration
public void OnAfterDependenciesDeserialized()
Implements
OnAfterDeserialize()
Declaration
protected override void OnAfterDeserialize()
Overrides
OnBeforeDeserialize()
Declaration
protected override void OnBeforeDeserialize()
Overrides
OnDestroy()
Declaration
protected virtual void OnDestroy()
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
Explicit Interface Implementations
IGraphNester.InstantiateNest()
Declaration
void IGraphNester.InstantiateNest()
Implements
IGraphNester.nest
Declaration
[DoNotSerialize]
IGraphNest IGraphNester.nest { get; }
Returns
Implements
IGraphNester.UninstantiateNest()
Declaration
void IGraphNester.UninstantiateNest()
Implements
IGraphParent.childGraph
Declaration
[DoNotSerialize]
IGraph IGraphParent.childGraph { get; }
Returns
Implements
IGraphParent.isSerializationRoot
Declaration
[DoNotSerialize]
bool IGraphParent.isSerializationRoot { get; }
Returns
Implements
IGraphParent.serializedObject
Declaration
[DoNotSerialize]
UnityEngine.Object IGraphParent.serializedObject { get; }
Returns
Type |
Description |
UnityEngine.Object |
|
Implements
IGraphRoot.definitionObject
Declaration
[DoNotSerialize]
ScriptableObject IGraphRoot.definitionObject { get; }
Returns
Type |
Description |
ScriptableObject |
|
Implements
IGraphRoot.instanceObject
Declaration
[DoNotSerialize]
UnityEngine.Object IGraphRoot.instanceObject { get; }
Returns
Type |
Description |
UnityEngine.Object |
|
Implements
IGraphRoot.rootSerializer
Declaration
[DoNotSerialize]
IGraphRootSerializer IGraphRoot.rootSerializer { get; }
Returns
Implements
IGraphRootSerializer.CanDeserializeGraphRoot(String)
Declaration
bool IGraphRootSerializer.CanDeserializeGraphRoot(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Implements
IGraphRootSerializer.DeserializeGraphRoot(String)
Declaration
IGraphRoot IGraphRootSerializer.DeserializeGraphRoot(string data)
Parameters
Type |
Name |
Description |
String |
data |
|
Returns
Implements
IGraphRootSerializer.SerializeGraphRoot(IGraphRoot)
Declaration
string IGraphRootSerializer.SerializeGraphRoot(IGraphRoot root)
Parameters
Returns
Implements
ISerializationDepender.deserializationDependencies
Declaration
[DoNotSerialize]
IEnumerable<ISerializationDependency> ISerializationDepender.deserializationDependencies { get; }
Returns
Implements
Extension Methods