Update stop dubbing
This commit is contained in:
parent
a9dde98f70
commit
54528ef006
|
@ -1,3 +1,4 @@
|
||||||
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -33,6 +34,11 @@ public class MateriKesehatanGigi : Menu<MateriKesehatanGigi>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnDisable()
|
||||||
|
{
|
||||||
|
audioController.Instance.StopDubbing();
|
||||||
|
}
|
||||||
|
|
||||||
public void UpdateInfo()
|
public void UpdateInfo()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -93,5 +99,13 @@ public class MateriKesehatanGigi : Menu<MateriKesehatanGigi>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public override void OnBackPressed()
|
||||||
|
{
|
||||||
|
base.OnBackPressed();
|
||||||
|
audioController.Instance.StopDubbing();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,11 @@ public class MateriPenyakitGigi : Menu<MateriPenyakitGigi>
|
||||||
PlayInitDubbing();
|
PlayInitDubbing();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnDisable()
|
||||||
|
{
|
||||||
|
audioController.Instance.StopDubbing();
|
||||||
|
}
|
||||||
|
|
||||||
public void UpdateInfo()
|
public void UpdateInfo()
|
||||||
{
|
{
|
||||||
|
@ -92,4 +97,10 @@ public class MateriPenyakitGigi : Menu<MateriPenyakitGigi>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void OnBackPressed()
|
||||||
|
{
|
||||||
|
base.OnBackPressed();
|
||||||
|
audioController.Instance.StopDubbing();
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue