// Use this for initialization void Start() { Cord1.SetCoordinates(SH1, DL1); Cord2.SetCoordinates(SH2, DL2); Debug.Log(Corditanes.Distance(Cord1, Cord2)); }
public void SolveDistance() { Corditanes cord1 = SityGenerator.Instance.GetSityFromID(IDSity1).SityPlace; Corditanes cord2 = SityGenerator.Instance.GetSityFromID(IDSity2).SityPlace; Distance = Corditanes.Distance(cord1, cord2); }