ドキュメント

Unity Engine

Unity Engine

AddComponent<T>(in T)

Attaches a component of type T to this element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

AddComponent<T>(T)

public void AddComponent<T>(in T value) where T : struct, IVisualElementComponent

Parameters

value

T
Initial component value.