예제 #1
0
    private void FixedUpdate()
    {
        if (move)
        {
            entity          = head.FillValues(entity);
            entity.position = head.Move(
                entity.position,
                direction,
                speed,
                1);
        }
        var variable = AdvanceBodies(head.values);

        AdvanceTail(variable);//todo:set last body
        entity = head.Advance(entity);
    }