Skip to content

Commit

Permalink
Update OutlineCanvas.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
rickomax committed Apr 15, 2019
1 parent e1c93ad commit 4849bca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Assets/GlobalOutline/Scripts/OutlineCanvas.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ private void Awake()
_rawImage.raycastTarget = false; _rawImage.raycastTarget = false;
} }



private void OnDestroy()
{
if (_tempRenderTexture != null)
{
RenderTexture.ReleaseTemporary(_tempRenderTexture);
}
}


private void Update() private void Update()
{ {
Expand Down

0 comments on commit 4849bca

Please sign in to comment.