C# Class ComponentHelper

显示文件 Open project: dggriffin/Rain-Rain-Ritual Class Usage Examples

Public Properties

Property Type Description
mine Component
parent ObjectHelper,
properties List
show bool
type System.Type

Public Methods

Method Description
ComponentHelper ( ObjectHelper, parent, Component mine, Component theirs ) : System
Draw ( float width ) : void
GetComponent ( bool isMine ) : Component
GetProperties ( List myProps, SerializedObject obj ) : void
Refresh ( ) : IEnumerable

Private Methods

Method Description
DrawComponent ( bool isMine, float width ) : void
GetDrawCount ( ) : int

Method Details

ComponentHelper() public method

public ComponentHelper ( ObjectHelper, parent, Component mine, Component theirs ) : System
parent ObjectHelper,
mine Component
theirs Component
return System

Draw() public method

public Draw ( float width ) : void
width float
return void

GetComponent() public method

public GetComponent ( bool isMine ) : Component
isMine bool
return Component

GetProperties() public static method

public static GetProperties ( List myProps, SerializedObject obj ) : void
myProps List
obj UnityEditor.SerializedObject
return void

Refresh() public method

public Refresh ( ) : IEnumerable
return IEnumerable

Property Details

mine public_oe property

public Component mine
return Component

parent public_oe property

public ObjectHelper, parent
return ObjectHelper,

properties public_oe property

public List properties
return List

show public_oe property

public bool show
return bool

type public_oe property

public Type,System type
return System.Type