void Awake() { apCount = PlayerPrefs.GetInt(PREFS_KEY_AP_COUNT, AP_MAX); apUpdateTime = Time.realtimeSinceStartup; clientObject = gameObject.AddComponent <SampleClientObject>(); clientObject.Initialize(); }
void Awake() { apCount = PlayerPrefs.GetInt(PREFS_KEY_AP_COUNT, AP_MAX); apUpdateTime = Time.realtimeSinceStartup; clientObject = gameObject.AddComponent<SampleClientObject>(); clientObject.Initialize(); }