AddDecorator

AddDecorator(Type)

public Decorator AddDecorator(Type type) ;

説明

Decoratorを追加。

パラメーター

パラメーター名 説明
type 追加するStateBehaviourの型

戻り値

追加したStateBehaviour

AddDecorator<T>()

public T AddDecorator<T>() ;

説明

Decoratorを追加。

型パラメーター

型パラメーター名 説明 型制約
T 追加するDecoratorの型

戻り値

追加したDecorator