Class ObjectManager<T, TManager>
Inheritance
ObjectManager<T, TManager>
Assembly: UtilityAIFramework.dll
Syntax
public abstract class ObjectManager<T, TManager> : MonoBehaviour where T : MonoBehaviour, IManagerObject<TManager> where TManager : class
Type Parameters
Name |
Description |
T |
|
TManager |
|
Fields
Objects
Declaration
Field Value
Prefab
Declaration
Field Value
Properties
ConcreteManager
Declaration
public TManager ConcreteManager { get; }
Property Value
Type |
Description |
TManager |
|
Count
Declaration
public int Count { get; }
Property Value
Methods
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
obj |
|
GetFirstOrDefault()
Declaration
public T GetFirstOrDefault()
Returns
Remove(T)
Declaration
public void Remove(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Declaration
public T Spawn(Vector3 position, Quaternion rotation, Transform parent = null)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Transform |
parent |
|
Returns