// Use this for initialization void Start() { GridIndex = GridManager.AddGridItem(this); lastPos = transform.position; }