Level Generator 2D

ManagerBehaviour<(Of <(<'TManager>)>)> Class

Extending this class creates a MonoBehaviour which may only have on instance and will not be destroyed between scenes. When extending, the type of the inheriting class must be passed.

Namespace:  CustomUnityLibrary
Assembly:  Level Generator 2D.CSharp (in Level Generator 2D.CSharp.dll)

Syntax


public abstract class ManagerBehaviour<TManager> : MonoBehaviour
where TManager : ManagerBehaviour<TManager>

Type Parameters

TManager
The type of manager to be created.

Inheritance Hierarchy


Object
  Object
    Component
      Behaviour
        MonoBehaviour
          CustomUnityLibrary..::..ManagerBehaviour<(Of <(<'TManager>)>)>