예제 #1
0
    private void Start()
    {
        Dictionary <string, object> dictionary = new Dictionary <string, object>();

        dictionary.Add("particlesRate", 100f);
        Dictionary <string, object> defaultValues = dictionary;

        AutoTune.Init("1", usePersistentPath: true, defaultValues);
        AutoTune.Fetch(GotSettings);
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        var defaults = new Dictionary <string, object>()
        {
            { "totalObjects", 10 }
        };

        _startTime = Time.time;
        AutoTune.Init("1OffXev7qC2FOX1Zbp1dwAcXei67rtwOc3X9Bop2g8y8", "1", true, defaults);
        AutoTune.Fetch(GotSettings);
    }