示例#1
0
 protected override void OnCreateManager()
 {
     componentGroup        = GetComponentGroup(ComponentType.Create <TrailBufferElement>());
     meshInstancedArgs     = new MeshInstancedArgs();
     trailMesh             = TrailMeshGenerator.CreateMesh();
     materialPropertyBlock = new MaterialPropertyBlock();
 }
 protected override void OnCreate()
 {
     m_MeshInstancedArgs     = new MeshInstancedArgs();
     m_TrailMesh             = TrailMeshGenerator.CreateMesh();
     m_MaterialPropertyBlock = new MaterialPropertyBlock();
 }