Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/effekseer/Effekseer
Browse files Browse the repository at this point in the history
  • Loading branch information
effekseer committed Jul 5, 2015
2 parents da79981 + e4682ee commit c5c3dde
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dev/Cpp/UnityPlugin/UnityScript/EffekseerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ void OnRenderObject() {

{
float[] projectionMatrixArray = Matrix2Array(Camera.current.projectionMatrix);
if (RenderTexture.active) {
if ((Application.platform == RuntimePlatform.WindowsPlayer ||
Application.platform == RuntimePlatform.WindowsEditor) &&
RenderTexture.active
) {
projectionMatrixArray[5] = -projectionMatrixArray[5];
}
GCHandle ghc = GCHandle.Alloc(projectionMatrixArray, GCHandleType.Pinned);
Expand Down
Binary file modified Release/GameEngine/Unity/Effekseer.unitypackage
Binary file not shown.
Binary file modified Release/GameEngine/Unity/SampleProject.zip
Binary file not shown.

0 comments on commit c5c3dde

Please sign in to comment.