Class SerializedComponent.ComponentInfo
Inheritance
SerializedComponent.ComponentInfo
Syntax
[Serializable]
public class ComponentInfo
Constructors
ComponentInfo(Type, Component)
Declaration
public ComponentInfo(Type t, Component c)
Parameters
Type |
Name |
Description |
Type |
t |
|
Component |
c |
|
ComponentInfo(SerializedComponent.ComponentInfo)
Declaration
public ComponentInfo(SerializedComponent.ComponentInfo info)
Parameters
Properties
Component
Declaration
public Component Component { get; }
Property Value
Type |
Description |
Component |
|
ComponentType
Declaration
public Type ComponentType { get; }
Property Value
Data
Declaration
public string Data { get; }
Property Value
Editor
Declaration
public Editor Editor { get; }
Property Value
Methods
DrawDefaultInspector()
Declaration
public void DrawDefaultInspector()
Declaration
public void DrawHeader(SerializedComponent parent)
Parameters
Invalidate(Boolean)
Declaration
public void Invalidate(bool destroyComponent)
Parameters
Type |
Name |
Description |
Boolean |
destroyComponent |
|
OnInspectorGUI(SerializedComponent)
Declaration
public void OnInspectorGUI(SerializedComponent parent)
Parameters
Restore(GameObject)
Declaration
public void Restore(GameObject o)
Parameters
Type |
Name |
Description |
GameObject |
o |
|
Save()
Declaration