public string GetInformation() { return("Позиция: x: " + (transform.position.x - 0.5f).ToString() + ", y: " + (transform.position.y - 0.5f).ToString() + "\n" + HistoryPawn.GetHistory(history)); }
private void Start() { history = HistoryPawn.GetRandomHistory(); sp = GetComponent <SpriteRenderer>(); sp.color = new Color(sp.color.r, sp.color.g, sp.color.b, 0); transform.localScale = new Vector3(0.6f, 0.6f, 1); StartCoroutine("Appearance"); }