/// <summary> /// 線連結を生成する /// </summary> public ChainLine CreateLine(List <Vector3> vertices) { ChainLine line = new ChainLine(vertices); lines.Add(line); return(line); }
/// <summary> /// 線連結を生成する /// </summary> public ChainLine CreateLine(List <Vector3> vertices, float liveTime, Gradient gradient) { ChainLine line = new ChainLine(vertices, Color.white, new LiveTimeUpdater(liveTime), new LiveTimeGradientUpdater(gradient)); lines.Add(line); return(line); }
/// <summary> /// 連結線を削除する /// </summary> public void DeleteLine(ChainLine line) { if (lines.Contains(line)) { lines.Remove(line); } }
/// <summary> /// 線連結を生成する /// </summary> public ChainLine CreateLine(List <Vector3> vertices, params IChainLineUpdater[] updaters) { ChainLine line = new ChainLine(vertices, Color.white, updaters); lines.Add(line); return(line); }