public override void Setup(ref TargetSetupContext context)
 {
     context.AddAssetDependencyPath(AssetDatabase.GUIDToAssetPath(kAssetGuid));
     context.AddSubShader(SubShaders.SpriteLit);
 }
Пример #2
0
 public override void Setup(ref TargetSetupContext context)
 {
     context.AddAssetDependency(kSourceCodeGuid, AssetCollection.Flags.SourceDependency);
     context.AddSubShader(SubShaders.SpriteUnlit);
 }
Пример #3
0
 public override void Setup(ref TargetSetupContext context)
 {
     context.AddAssetDependencyPath(AssetDatabase.GUIDToAssetPath(kAssetGuid));
     context.SetDefaultShaderGUI("Rendering.HighDefinition.EyeGUI");
     context.AddSubShader(SubShaders.Eye);
 }
Пример #4
0
 public override void Setup(ref TargetSetupContext context)
 {
 }
Пример #5
0
        static readonly GUID kSourceCodeGuid = new GUID("92228d45c1ff66740bfa9e6d97f7e280");  // UniversalSubTarget.cs

        public override void Setup(ref TargetSetupContext context)
        {
            context.AddAssetDependency(kSourceCodeGuid, AssetCollection.Flags.SourceDependency);
        }