Skip to content

Commit c591bbb

Browse files
Merge pull request #1005 from StephenHodgson/Dev_Unity_2017.2.0
Fixed improper OnDestroy implementation
2 parents 290cec0 + 9bb089e commit c591bbb

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)