A game about forced loneliness, made by TACStudios
at master 32 lines 1.1 kB view raw
1using System; 2using UnityEngine; 3 4namespace UnityEngine.Rendering 5{ 6 /// <summary> 7 /// Interface for storing the debug settings 8 /// </summary> 9 public interface IDebugDisplaySettings 10 { 11 /// <summary> 12 /// Reset the stored debug settings 13 /// </summary> 14 void Reset(); 15 16 /// <summary> 17 /// Executes an action for each element 18 /// </summary> 19 /// <param name="onExecute">The action to execute for each element, accepting an IDebugDisplaySettingsData object as a parameter.</param> 20 void ForEach(Action<IDebugDisplaySettingsData> onExecute); 21 22 /// <summary> 23 /// Adds a <see cref="IDebugDisplaySettingsData"/> to this instance of <see cref="IDebugDisplaySettings"/> 24 /// </summary> 25 /// <param name="newData">The <see cref="IDebugDisplaySettingsData"/> to be added to this settings</param> 26 /// <returns><see cref="IDebugDisplaySettingsData"/></returns> 27 IDebugDisplaySettingsData Add(IDebugDisplaySettingsData newData) 28 { 29 return null; 30 } 31 } 32}