mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2026-01-04 17:20:57 +07:00
fix serialization generic classes problem
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
namespace IsoTools.Internal {
|
||||
public abstract class IsoObjectBase : IsoBehaviour<IsoObject> {
|
||||
public abstract class IsoObjectBase : IsoBehaviour {
|
||||
IsoWorld _isoWorld = null;
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
@@ -46,13 +46,11 @@
|
||||
//
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
protected override void OnEnable() {
|
||||
base.OnEnable();
|
||||
protected virtual void OnEnable() {
|
||||
Internal_RecacheIsoWorld();
|
||||
}
|
||||
|
||||
protected override void OnDisable() {
|
||||
base.OnDisable();
|
||||
protected virtual void OnDisable() {
|
||||
Internal_ResetIsoWorld();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user