void Init() { SceneRes = gameObject.GetComponent <SceneRes>(); InvokeRepeating("SlowUpdate", 0, 0.5f); }