public void SetTransform(Transform t)
    {
        transform = t;

        transform2D.SetShape(this);

        spriteShape.SetTransform(t);
        spritePhysicsShape.SetTransform(t);

        colliderShape.SetTransform(t);
    }
Пример #2
0
    public void SetTransform(Transform setTransform)
    {
        transform = setTransform;

        transform2D.SetShape(this);

        spriteShape.SetTransform(transform);
        spritePhysicsShape.SetTransform(transform);

        collider2DShape.SetTransform(transform);
        compositeShape.SetTransform(transform);

        meshShape.SetTransform(transform);
        skinnedMeshShape.SetTransform(transform);

        collider3DShape.SetTransform(transform);
    }
Пример #3
0
 public void SetTransform(Transform t)
 {
     colliderShape.SetTransform(t);
     spriteShape.SetTransform(t);
 }