Ejemplo n.º 1
0
 public void AddScore(Vector3 pos = default(Vector3), int dScore = 1, float time = 1)
 {
     Crt.DstGoChild <TextMeshPro>(Resources.Load <GameObject>("Main/AddScore"),
                                  new Tf(pos.IsDefault() ? transform.position : pos),
                                  time, "0", "", A.GC.transform).text = "+" + dScore;
 }