Exemple #1
0
    // Start is called before the first frame update
    void Awake()
    {
        // If we haven't parsed the JSON file, parse it
        if (partList == null)
        {
            partList = GetComponent <PartList>();
            partList.PopulatePartsFromJSON();

            SplitData();
        }
    }