v21’s avatarv21’s Twitter Archive—№ 32,865

    1. …in reply to @shahidkamal
      @shahidkamal plain C# will work msdn.microsoft.com/en-us/library/system.io.file.readalltext%28v=vs.110%29.aspx - or you can use WWW.text (with a file:// at the start of the path)
  1. …in reply to @v21
    @shahidkamal the tricky bit is getting a reliable path to the content when it's built.
    1. …in reply to @v21
      @shahidkamal or if you want to use Unity's resource management, docs.unity3d.com/Manual/class-TextAsset.html will work.