示例#1
0
 /// <summary> Gets texture corrosponding to specified transition. </summary>
 /// <param name="transition"> The screen transition to get the texture for. </param>
 /// <returns> The texture corrosponding to the screen transition. </returns>
 private static Texture2D GetTexture(ScreenTransition screenTransition)
 => Resources.Load <Texture2D>("Shaders/PostProcessing/Screen Transitions/" + screenTransition.ToString());