void OnEnable() { Instance = this; this.mHotfixName = this.serializedObject.FindProperty("mHotfixName"); this.mObjects = this.serializedObject.FindProperty("mObjects"); this.mBaseDatas = this.serializedObject.FindProperty("mBaseDatas"); this.mObjectTypes = this.ToObjectTypes(this.mObjects); }
void OnDestroy() { Instance = null; }