public void DisplayTextEffect(Transform target, TextEffect textEffect) { TextEffect display = Instantiate(textEffect, target.transform.position, transform.rotation); display.SetPoints(); display.gameObject.transform.SetParent(dynamics.transform); }