DisallowMultipleComponent

class in UnityEngine

Cambiar al Manual

Descripción

Prevents MonoBehaviour of same type (or subtype) to be added more than once to a GameObject.