예제 #1
0
 /// <summary>
 /// This function is called when the behaviour becomes disabled() or inactive.
 /// </summary>
 private void OnDisable()
 {
     QuestHandler.StopListening("GiveReward", GetReward);
 }