C# Class SimplePooling, Westworld_AI_toolkit

Inheritance: MonoBehaviour
Show file Open project: 0000101010b/Westworld_AI_toolkit Class Usage Examples

Public Properties

Property Type Description
Prefab GameObject,
grid ].bool[
height int
parent GameObject,
width int

Public Methods

Method Description
Awake ( ) : void
DespawnPrefab ( ) : void
OnDrawGizmos ( ) : void
SpawnPrefab ( Vector3, pos ) : void
Update ( ) : void

Private Methods

Method Description
SetMaterial ( int x, int y ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DespawnPrefab() public method

public DespawnPrefab ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SpawnPrefab() public method

public SpawnPrefab ( Vector3, pos ) : void
pos Vector3,
return void

Update() public method

public Update ( ) : void
return void

Property Details

Prefab public property

public GameObject, Prefab
return GameObject,

grid public property

public bool[,] grid
return ].bool[

height public property

public int height
return int

parent public property

public GameObject, parent
return GameObject,

width public property

public int width
return int