private void Awake() { instance = this; pool = new Queue <UIDamageTextView>(); cam = Camera.main; }
public static UIDamageTextPresenter Get() { if (ReferenceEquals(null, instance)) { instance = FindObjectOfType <UIDamageTextPresenter>(); } return(instance); }
private void Awake() { lifeTimer = new WaitForSeconds(lifeTime); damageTextParent = UIDamageTextPresenter.Get(); }