Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

DisallowMultipleComponent

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

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