private void Start() { gameResultSources = GetComponent <GameResultSources>(); var scene = SceneManager.GetActiveScene(); NowSceneName = scene.name; }
private void OnEnable() { Instance = (GameResultSources)target; }