Example #1
0
 void OnDestroy()
 {
     _controller.Save(this);
 }
Example #2
0
 void OnDisable()
 {
     _controller.Save(this); // TODO: es necesario grabar ondisabled y ondestroy?
 }