Exemplo n.º 1
0
    public void updateMap(Chainfo C)      // use to set map
    {
        Mapinfo M = MGM.getmap(C.X, C.Y);

        if (M.Character_C.Contains(C.me))
        {
            M.Character_C.Remove(C.me);
        }
    }
Exemplo n.º 2
0
    public void Updatemove(Chainfo C)
    {
        Mapinfo M = MGM.getmap(C.X, C.Y);

        M.Character_C.Add(C.me);
        Vector3 V = M.gameObject.transform.position;

        C.gameObject.transform.position = V;
        C.Myposition = M;
    }