UnityHeapEx.HeapDump.WriteUnityObjectData C# (CSharp) Méthode

WriteUnityObjectData() private méthode

private WriteUnityObjectData ( string depth, Object uo, bool seen ) : void
depth string
uo UnityEngine.Object
seen bool
Résultat void
        private void WriteUnityObjectData( string depth, Object uo, bool seen )
        {
            // shows some additional info on UnityObjects
            writer.WriteLine( depth + "<unityObject type=\"{0}\" name=\"{1}\" seen=\"{2}\"/>",
                              SecurityElement.Escape( uo.GetType().GetFormattedName() ),
                              SecurityElement.Escape( uo ? uo.name : "--missing reference--" ),
                              seen );
            // todo we can show referenced assets for renderers, materials, audiosources etc
        }