one last quick bugfix (hopefully)
This commit is contained in:
parent
0220a3001f
commit
04c69cf7fd
|
@ -64,6 +64,11 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
|||
if (normalizedBeat >= 1f) Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
void OnDestroy()
|
||||
{
|
||||
if (ReelAction != null)
|
||||
ReelAction.Disable();
|
||||
}
|
||||
|
||||
public int Setup(RiqEntity e, CatchOfTheDay minigame, int? lastLayout = null, int sortingIndex = 0)
|
||||
{
|
||||
|
@ -398,12 +403,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
|||
DisplaySprite.sprite = sprite;
|
||||
}
|
||||
|
||||
//int originalSort = _SortingGroup.sortingOrder;
|
||||
//_SortingGroup.sortingOrder = short.MaxValue;
|
||||
RenderCamera.Render();
|
||||
//_SortingGroup.sortingOrder = originalSort;
|
||||
|
||||
//_DisplayTexture.alphaIsTransparency = true;
|
||||
|
||||
RenderTexture currentRenderTexture = RenderTexture.active;
|
||||
RenderTexture.active = _RenderTexture;
|
||||
|
|
Loading…
Reference in a new issue