public LinkData(string linkId, string argStr, bool isChangeTextColor, Color color, ArgUnityEvent onClick) { this.linkId = linkId; this.argStr = argStr; this.isChangeTextColor = isChangeTextColor; this.color = color; this.onClick = onClick; }
public LinkData(int startIndex, int targetStrLength, string argStr, bool isChangeTextColor, Color color, ArgUnityEvent onClick) { this.startIndex = startIndex; this.targetStrLength = targetStrLength; this.argStr = argStr; this.isChangeTextColor = isChangeTextColor; this.color = color; this.onClick = onClick; rects = new List <Rect>(); }