Search Unity

Question scriptableObject vs json which is better?

Discussion in 'Scripting' started by ununion, Jun 26, 2020.

  1. ununion

    ununion

    Joined:
    Dec 2, 2018
    Posts:
    275
    saving prefab/material references in scriptableObject or saving prefab/material's path in json and using resources.load or assetbundle to load them which is better?
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    Neither is universally better. They are simply different.
     
  3. ununion

    ununion

    Joined:
    Dec 2, 2018
    Posts:
    275
    sry for the ask better, but it should be said which is normally used in large project