CreateAssetOf() public static method

public static CreateAssetOf ( string name, string ruta ) : ScriptableObject
name string
ruta string
return UnityEngine.ScriptableObject
Esempio n. 1
0
    public static IsoSwitches createSwitches()
    {
        string ruta = "Assets/Resources/IsoSwitches.asset";

        return(IsoAssetsManager.CreateAssetOf("IsoSwitches", ruta) as IsoSwitches);
    }
Esempio n. 2
0
    public static IsoSettings createSettings()
    {
        string ruta = "Assets/Resources/IsoSettings.asset";

        return(IsoAssetsManager.CreateAssetOf("IsoSettings", ruta) as IsoSettings);
    }