1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using UnityEngine;
- using UnityEngine.Serialization;
- using UnityEngine.VFX;
- using System.Text;
- namespace UnityEditor.VFX
- {
- class VFXDataSpawner : VFXData
- {
- public override VFXDataType type => VFXDataType.SpawnEvent;
- public override void CopySettings<T>(T dst)
- {
- //There is nothing serialized here
- }
- public override void GenerateAttributeLayout(Dictionary<VFXContext, List<VFXContextLink>[]> effectiveFlowInputLinks)
- {
- }
- public override string GetAttributeDataDeclaration(VFXAttributeMode mode)
- {
- throw new NotImplementedException();
- }
- public override VFXDeviceTarget GetCompilationTarget(VFXContext context)
- {
- return VFXDeviceTarget.CPU;
- }
- public override string GetLoadAttributeCode(VFXAttribute attrib, VFXAttributeLocation location)
- {
- throw new NotImplementedException();
- }
- public override string GetStoreAttributeCode(VFXAttribute attrib, string value)
- {
- throw new NotImplementedException();
- }
- }
- }
|