Class CanvasViewReference
A canvas view reference links a canvas controller field, decorated with the ViewReferenceAttribute, with a component in its view.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Pelican7.UIGraph
Assembly: UI Graph API Documentation Project.dll
Syntax
[Serializable]
public class CanvasViewReference : ViewReference
Constructors
CanvasViewReference(String, String)
Declaration
public CanvasViewReference(string identifier, string assemblyQualifiedTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | |
System.String | assemblyQualifiedTypeName |
Fields
objectReference
The component in the view to which this view reference points.
Declaration
public Object objectReference
Field Value
Type | Description |
---|---|
UnityEngine.Object |
Properties
HasObjectReference
Does the view reference point to a valid component in the view?
Declaration
public bool HasObjectReference { get; }
Property Value
Type | Description |
---|---|
System.Boolean |