/// <summary> /// Resets the current scriptable object. /// </summary> public void Reset() { _declarationStruct.ResetDeclarationStruct(); _variablesStruct = new VariablesStruct[0]; _customCodeStruct.ResetCustomCodeStruct(); _unityMethodsStruct = new UnityMethodsStruct[0]; _customMethodsStruct = new CustomMethodsStruct[0]; }