private void OnEnable() { _studioGi = serializedObject.FindProperty("_currentStudioGi"); _currentInstance = serializedObject.targetObject as StudioStats; }
private void Start() { _studioStats = FindObjectOfType <StudioStats>(); _projectGenerator = FindObjectOfType <ProjectGenerator>(); _availableProjects = _projectGenerator.GenerateProjectsBatch(5); }