Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
12345678910111213 |
- namespace UnityEditor.ShaderGraph
- {
- public interface IMaySupportVFX
- {
- bool SupportsVFX();
- bool CanSupportVFX();
- }
- static class MaySupportVFXExtensions
- {
- public static bool SupportsVFX(this Target target) => target is IMaySupportVFX vfxTarget && vfxTarget.SupportsVFX();
- public static bool CanSupportVFX(this Target target) => target is IMaySupportVFX vfxTarget && vfxTarget.CanSupportVFX();
- }
- }
|