示例#1
0
 public ObiBlueprintRenderModeParticles(ObiActorBlueprintEditor editor) : base(editor)
 {
     impostorDrawer = new ParticleImpostorRendering();
     impostorDrawer.UpdateMeshes(editor.blueprint);
 }
示例#2
0
 public void OnEnable()
 {
     impostors = new ParticleImpostorRendering();
     GetComponent <ObiActor>().OnInterpolate += DrawParticles;
 }