public override void SetAlignment(YxEAlignment alignment) { if (Label == null) { return; } switch (alignment) { case YxEAlignment.Automatic: break; case YxEAlignment.Left: Label.alignment = TextAnchor.MiddleLeft; break; case YxEAlignment.Center: Label.alignment = TextAnchor.MiddleCenter; break; case YxEAlignment.Right: Label.alignment = TextAnchor.MiddleRight; break; case YxEAlignment.Justified: break; } }
public override void SetAlignment(YxEAlignment yxEAlignment) { var label = Label; if (label == null) { return; } label.alignment = (NGUIText.Alignment)(int) yxEAlignment; }
public override void SetAlignment(YxEAlignment alignment) { throw new System.NotImplementedException(); }
public override void SetAlignment(YxEAlignment alignment) { }