Skip to content

Commit 9bb089e

Browse files
author
Stephen Hodgson
committed
Fixed improper OnDestroy implementation
1 parent 290cec0 commit 9bb089e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/Utilities/Scripts/FadeScript.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void CalculateFade()
8383
}
8484
}
8585

86-
new void OnDestroy()
86+
protected override void OnDestroy()
8787
{
8888
if (fadeMaterial != null)
8989
{

0 commit comments

Comments
 (0)