Class GraphPointer
Syntax
public abstract class GraphPointer
Fields
dataStack
Declaration
protected readonly List<IGraphData> dataStack
Field Value
debugDataStack
Declaration
protected readonly List<IGraphDebugData> debugDataStack
Field Value
graphStack
Declaration
protected readonly List<IGraph> graphStack
Field Value
parentElementStack
Declaration
protected readonly List<IGraphParentElement> parentElementStack
Field Value
parentStack
Declaration
protected readonly List<IGraphParent> parentStack
Field Value
Properties
_data
Declaration
protected IGraphData _data { get; set; }
Property Value
_debugData
Declaration
protected IGraphDebugData _debugData { get; set; }
Property Value
_parentData
Declaration
protected IGraphData _parentData { get; }
Property Value
component
Declaration
public MonoBehaviour component { get; }
Property Value
data
Declaration
public IGraphData data { get; }
Property Value
debugData
Declaration
public IGraphDebugData debugData { get; }
Property Value
depth
Declaration
public int depth { get; }
Property Value
fetchRootDebugDataBinding
Declaration
public static Func<IGraphRoot, IGraphDebugData> fetchRootDebugDataBinding { get; set; }
Property Value
gameObject
Declaration
public GameObject gameObject { get; }
Property Value
graph
Declaration
public IGraph graph { get; }
Property Value
hasData
Declaration
public bool hasData { get; }
Property Value
hasDebugData
Declaration
public bool hasDebugData { get; }
Property Value
isChild
Declaration
public bool isChild { get; }
Property Value
isRoot
Declaration
public bool isRoot { get; }
Property Value
isValid
Declaration
public bool isValid { get; }
Property Value
machine
Declaration
public IMachine machine { get; }
Property Value
macro
Declaration
public IMacro macro { get; }
Property Value
parent
Declaration
public IGraphParent parent { get; }
Property Value
parentElement
Declaration
public IGraphParentElement parentElement { get; }
Property Value
parentElementGuids
Declaration
public IEnumerable<Guid> parentElementGuids { get; }
Property Value
root
Declaration
public IGraphRoot root { get; protected set; }
Property Value
rootGraph
Declaration
public IGraph rootGraph { get; }
Property Value
rootObject
Declaration
public Object rootObject { get; }
Property Value
scene
Declaration
public Scene? scene { get; }
Property Value
scriptableObject
Declaration
public ScriptableObject scriptableObject { get; }
Property Value
self
Declaration
public GameObject self { get; }
Property Value
serializedObject
Declaration
public Object serializedObject { get; }
Property Value
Methods
AsReference()
Declaration
public abstract GraphReference AsReference()
Returns
ComputeHashCode()
Declaration
public int ComputeHashCode()
Returns
CopyFrom(GraphPointer)
Declaration
public virtual void CopyFrom(GraphPointer other)
Parameters
DefinitionEquals(GraphPointer)
Declaration
public bool DefinitionEquals(GraphPointer other)
Parameters
Returns
EnsureChild()
Declaration
public void EnsureChild()
EnsureDataAvailable()
Declaration
public void EnsureDataAvailable()
EnsureDebugDataAvailable()
Declaration
public void EnsureDebugDataAvailable()
EnsureDepthValid(Int32)
Declaration
public void EnsureDepthValid(int depth)
Parameters
Type |
Name |
Description |
Int32 |
depth |
|
EnsureValid()
Declaration
public void EnsureValid()
EnsureWithin<T>()
Declaration
public void EnsureWithin<T>()
where T : IGraphParent
Type Parameters
EnterParentElement(Guid)
Declaration
protected void EnterParentElement(Guid parentElementGuid)
Parameters
Type |
Name |
Description |
Guid |
parentElementGuid |
|
EnterParentElement(IGraphParentElement)
Declaration
protected void EnterParentElement(IGraphParentElement parentElement)
Parameters
ExitParentElement()
Declaration
protected void ExitParentElement()
GetElementData<T>(IGraphElementWithData)
Declaration
public T GetElementData<T>(IGraphElementWithData element)
where T : IGraphElementData
Parameters
Returns
Type Parameters
GetElementDebugData<T>(IGraphElementWithDebugData)
Declaration
public T GetElementDebugData<T>(IGraphElementWithDebugData element)
Parameters
Returns
Type Parameters
GetGraphData<T>()
Declaration
public T GetGraphData<T>()
where T : IGraphData
Returns
Type Parameters
GetGraphDebugData<T>()
Declaration
public T GetGraphDebugData<T>()
where T : IGraphDebugData
Returns
Type Parameters
GetParent<T>()
Declaration
public T GetParent<T>()
where T : IGraphParent
Returns
Type Parameters
Initialize(IGraphRoot)
Declaration
protected void Initialize(IGraphRoot root)
Parameters
Initialize(IGraphRoot, IEnumerable<IGraphParentElement>, Boolean)
Declaration
protected void Initialize(IGraphRoot root, IEnumerable<IGraphParentElement> parentElements, bool ensureValid)
Parameters
Initialize(Object, IEnumerable<Guid>, Boolean)
Declaration
protected void Initialize(Object rootObject, IEnumerable<Guid> parentElementGuids, bool ensureValid)
Parameters
InstanceEquals(GraphPointer)
Declaration
public bool InstanceEquals(GraphPointer other)
Parameters
Returns
IsValidRoot(IGraphRoot)
Declaration
protected static bool IsValidRoot(IGraphRoot root)
Parameters
Returns
IsValidRoot(Object)
Declaration
protected static bool IsValidRoot(Object rootObject)
Parameters
Type |
Name |
Description |
Object |
rootObject |
|
Returns
IsWithin<T>()
Declaration
public bool IsWithin<T>()
where T : IGraphParent
Returns
Type Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
TryEnterParentElement(Guid, out String, Nullable<Int32>)
Declaration
protected bool TryEnterParentElement(Guid parentElementGuid, out string error, int? maxRecursionDepth = null)
Parameters
Returns
TryEnterParentElement(IGraphParentElement, out String, Nullable<Int32>, Boolean)
Declaration
protected bool TryEnterParentElement(IGraphParentElement parentElement, out string error, int? maxRecursionDepth = null, bool skipContainsCheck = false)
Parameters
Returns
Extension Methods
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.