Method AddObject
AddObject(ObjectTemplate, ComputeBuffer)
Adds one object template and its corresponding instance buffer.
public void AddObject(ObjectTemplate template, ComputeBuffer buffer)
Parameters
templateObjectTemplateObject template referenced by the instance buffer.
bufferComputeBufferBuffer containing packed object instances for
template.