RequireComponent.RequireComponent Manual     Reference     Scripting  
Scripting > Attributes > RequireComponent
RequireComponent.RequireComponent

static function RequireComponent (requiredComponent : Type) : RequireComponent

Description

Require a single component

static function RequireComponent (requiredComponent : Type, requiredComponent2 : Type) : RequireComponent

Description

Require a two components

static function RequireComponent (requiredComponent : Type, requiredComponent2 : Type, requiredComponent3 : Type) : RequireComponent

Description

Require three components