public void start(string str, Color color, Transform pointer, float posX = 0.0f, float posY = 100.0f)
{
if (text == null)
{
text = gameObject.transform.Find("effect").GetComponent <tk2dTextMesh>();
}
text.maxChars = str.Length;
text.text = str;
text.color = color;
_color = color;
text.Commit();
_v = text.GetMeshDimensionsForString(str);
_pos = pointer.transform.position;
_pos.x -= _v.x * 0.5f;
_pos.x += posX;
tf.position = GameManager.me.inGameGUICamera.ScreenToWorldPoint(GameManager.me.gameCamera.WorldToScreenPoint(_pos));;
init(pointer, posX - _v.x * 0.5f, posY, true);
_isStart = true;
animation.Play();
if (PerformanceManager.isLowPc)
{
return;
}
StartCoroutine(onCompleteEffectCT());
}