示例#1
0
 private void OnDisable()
 {
     playerActions.Destroy();
 }
示例#2
0
 void OnDisable()
 {
     // This properly disposes of the action set and unsubscribes it from
     // update events so that it doesn't do additional processing unnecessarily.
     playerActions.Destroy();
 }