public void TestMove() { Vector2 endPos = hero.transform.position.x >= 0 ? new Vector2(-3, 1) : new Vector2(0, 0); hero.Move(endPos); }