public override sealed void Sanitize(int version) { var crossProduct = ScriptableObject.CreateInstance(typeof(CrossProduct)) as VFXOperatorNumericUniform; crossProduct.SetOperandType(typeof(Vector3)); VFXSlot.CopyLinksAndValue(crossProduct.inputSlots[0], inputSlots[0], true); VFXSlot.CopyLinksAndValue(crossProduct.inputSlots[1], inputSlots[1], true); VFXSlot.CopyLinks(crossProduct.outputSlots[0], outputSlots[0], true); VFXModel.ReplaceModel(crossProduct, this); }