This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// definitions | |
public abstract class ClassConstraint<TClass> | |
where TClass : class | |
{ | |
public class GenericClassWhereIWantTEnumRestricted<TEnum> | |
where TEnum : struct, TClass | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using JetBrains.Annotations; | |
using UnityEditor; | |
using UnityEngine; | |
namespace UnityProject.Editor { | |
public sealed class TextureAlphaPremultiplier : AssetPostprocessor { | |
public void OnPreprocessTexture() { |