Class PooledObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public class PooledObject : MonoBehaviour
Properties
isPooled
Declaration
public bool isPooled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
onOverflow
Declaration
public PooledObject.OnOverflow onOverflow { get; }
Property Value
| Type | Description |
|---|---|
| PooledObject.OnOverflow |
poolTransform
Declaration
public Transform poolTransform { get; set; }
Property Value
| Type | Description |
|---|---|
| Transform |
Methods
Awake()
Declaration
protected void Awake()
PreReturnToPool()
Declaration
protected virtual void PreReturnToPool()
ReturnToPool()
Declaration
public void ReturnToPool()
ReturnToPool(Single)
Declaration
public void ReturnToPool(float delay)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | delay |