Ejemplo n.º 1
0
 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));
         }
     }
 }
Ejemplo n.º 2
0
 private static void Location()
 {
     Debug.Log(DumpUtils.FormatComponent(null, GameManager.GetPlayerTransform()));
 }