private static void PrintWeapons() { using (StreamWriter writer = new StreamWriter(@"C:\Users\st_dg\OneDrive\TLD\vp_FPSWeapon.txt")) { foreach (Component eachItem in Resources.FindObjectsOfTypeAll <vp_FPSWeapon>()) { writer.WriteLine(DumpUtils.FormatComponent(eachItem.name, eachItem)); } } }
private static void Location() { Debug.Log(DumpUtils.FormatComponent(null, GameManager.GetPlayerTransform())); }