Class MonoBehaviourComponentList
Component List that can store the MonoBehaviours of an object.
Inheritance
MonoBehaviourComponentList
Syntax
[Serializable]
public class MonoBehaviourComponentList : ScriptableObject, IComponentList<MonoBehaviour>
Properties
components
Declaration
public List<MonoBehaviour> components { get; }
Property Value
Type |
Description |
List<MonoBehaviour> |
|
Implements
isDirty
Declaration
public bool isDirty { get; set; }
Property Value
Implements
self
Declaration
public Object self { get; }
Property Value
Implements
Methods
HasComponents(Type)
Declaration
public bool HasComponents(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Implements
ResetComponentsList<TComponentMenuAttribute>(GameObject)
Rebuilds the list of attached MonoBehaviours.
Declaration
public void ResetComponentsList<TComponentMenuAttribute>(GameObject go)
where TComponentMenuAttribute : ComponentMenuAttribute
Parameters
Type |
Name |
Description |
GameObject |
go |
The GameObject the MonoBehaviours are attached too.
|
Type Parameters
Name |
Description |
TComponentMenuAttribute |
|