// Start is called before the first frame update void Awake() { featureSprites = new DataHolder(); streamingPath = Path.Combine(Application.streamingAssetsPath, "CustomizableOptions.json"); StreamReader reader = new StreamReader(streamingPath); string fileContents = reader.ReadToEnd(); featureSprites = DataHolder.CreateFromJSON(fileContents); Debug.Log(featureSprites.Hair[0]); optionSprites = gameObject.GetComponentsInChildren <SpriteRenderer>(); }