[Solved] Write to text files with c# in Unity3D using StreamWriter

StreamWriter is very simple tool which let you to write your data into text files.This script is very easy to understand and working method which I have implemented in my Foxes and Rabbit Simulation. using UnityEngine; using System.Collections; using System.IO;public class countfox : MonoBehaviour { public int count_fox; StreamWriter sw; GameObject [] fox;void Start(){ sw … Continue reading [Solved] Write to text files with c# in Unity3D using StreamWriter