void Start()
 {
     m_Mesh = new Mesh();
     m_Vfx  = GetComponent <VisualEffect>();
     m_SkinnedMeshRenderer = GetComponent <SkinnedMeshRenderer>();
     m_SkinnedMeshRenderer.BakeMesh(m_Mesh);
     m_Baker = new MeshToSDFBaker(sizeBox, center, maxResolution, m_Mesh, signPassCount, threshold);
     m_Baker.BakeSDF();
     m_Vfx.SetTexture("WalkingSDF", m_Baker.SdfTexture);
     m_Vfx.SetVector3("BoxSize", m_Baker.GetActualBoxSize());
 }
 void Update()
 {
     m_SkinnedMeshRenderer.BakeMesh(m_Mesh);
     m_Baker.BakeSDF();
     m_Vfx.SetTexture("WalkingSDF", m_Baker.SdfTexture);
 }