浏览代码

CRITICAL ! Fixes for Non-VFXGraph present projects.

/main
Thomas ICHÉ 3 年前
当前提交
3a0ba21e
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 2
      Runtime/LevelScripting/Actions/VFXSendEventAction.cs
  2. 3
      Runtime/LevelScripting/Actions/VFXSetPropertyAction.cs

2
Runtime/LevelScripting/Actions/VFXSendEventAction.cs


Debug.LogWarning("VFXSendEventAction could not attach to VFX as VFX Graph package is not installed, if you're running HDRP or URP, please install it using package manager.");
#endif
}
#if PACKAGE_VFXGRAPH
#endif
}
}

3
Runtime/LevelScripting/Actions/VFXSetPropertyAction.cs


Debug.LogWarning("VFXSetPropertyAction could not attach to VFX as VFX Graph package is not installed, if you're running HDRP or URP, please install it using package manager.");
#endif
}
#if PACKAGE_VFXGRAPH
bool HasProperty(int id)
{
switch(dataType)

bool isTexture3D() { return dataType == DataType.Texture3D; }
bool isUInt() { return dataType == DataType.UInt; }
bool isInt() { return dataType == DataType.Int; }
#endif
}
}
正在加载...
取消
保存