C# Class UnityEngine.RequireComponent

Inheritance: System.Attribute
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
m_Type0 System.Type
m_Type1 System.Type
m_Type2 System.Type

Public Methods

Method Description
RequireComponent ( System requiredComponent ) : System

Require a single component.

RequireComponent ( System requiredComponent, System requiredComponent2 ) : System

Require a two components.

RequireComponent ( System requiredComponent, System requiredComponent2, System requiredComponent3 ) : System

Require three components.

Method Details

RequireComponent() public method

Require a single component.

public RequireComponent ( System requiredComponent ) : System
requiredComponent System
return System

RequireComponent() public method

Require a two components.

public RequireComponent ( System requiredComponent, System requiredComponent2 ) : System
requiredComponent System
requiredComponent2 System
return System

RequireComponent() public method

Require three components.

public RequireComponent ( System requiredComponent, System requiredComponent2, System requiredComponent3 ) : System
requiredComponent System
requiredComponent2 System
requiredComponent3 System
return System

Property Details

m_Type0 public_oe property

public Type,System m_Type0
return System.Type

m_Type1 public_oe property

public Type,System m_Type1
return System.Type

m_Type2 public_oe property

public Type,System m_Type2
return System.Type