public TweaksSystemManager()
	{
		eventsListener = AMPSListener.CreateInstance("TweaksAmpsListener");
		
		intValues = new Dictionary<string, int>();
		floatValues = new Dictionary<string, float>();
		stringValues = new Dictionary<string, string>();
	}
Пример #2
0
    public TweaksSystemManager()
    {
        eventsListener = AMPSListener.CreateInstance("TweaksAmpsListener");

        intValues    = new Dictionary <string, int>();
        floatValues  = new Dictionary <string, float>();
        stringValues = new Dictionary <string, string>();
    }
	void Awake ()
	{
		instance = this;
		DontDestroyOnLoad(gameObject);
		#if (UNITY_ANDROID || UNITY_IPHONE) && !UNITY_EDITOR
		DataPath = Application.persistentDataPath + "/localization/";
		#elif UNITY_EDITOR
		DataPath = "StoredData/localization/";
		#endif
		
		eventsListener = AMPSListener.CreateInstance("LocalizationAmpsListener");
	}
    void Awake()
    {
        instance = this;
        DontDestroyOnLoad(gameObject);
                #if (UNITY_ANDROID || UNITY_IPHONE) && !UNITY_EDITOR
        DataPath = Application.persistentDataPath + "/localization/";
                #elif UNITY_EDITOR
        DataPath = "StoredData/localization/";
                #endif

        eventsListener = AMPSListener.CreateInstance("LocalizationAmpsListener");
    }