/** * We initialize our function * */ protected void Start() { pawn = GetComponentInParent <InteractionPawn>(); decorators = GetComponents <ADecorator>(); }
void Start() { pawn = GetComponent <InteractionPawn>(); }