ドキュメント

Unity Engine

Unity Engine

DisallowMultipleComponent

Prevents MonoBehaviour of same type (or subtype) to be added more than once to a GameObject.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前

Definition

[AttributeUsage(AttributeTargets.Class, Inherited = false)]public sealed class DisallowMultipleComponent : Attribute, _Attribute

Inheritance

Inherited Members