Method ProfileAndSave
ProfileAndSave(GameObject, string, float, float)
Profile a GameObject and save the profile to JSON. Returns a formatted summary.
public static string ProfileAndSave(GameObject root, string filename = null, float cellSize = 5, float yStep = 2.5)
Parameters
rootGameObjectfilenamestringcellSizefloatyStepfloat