public void SetType(float width, int maxelemnt, float len, Vector3 pos, int stretchType, float maxFps) { Type = 2; Ribbon = Owner.GetVertexPool().AddRibbonTrail(width, maxelemnt, len, pos, stretchType, maxFps); }
//sprite public void SetType(float width, float height, STYPE type, ORIPOINT orip, int uvStretch, float maxFps) { Type = 1; Sprite = Owner.GetVertexPool().AddSprite(width, height, type, orip, Camera.main, uvStretch, maxFps); }