ResetCustomCodeStruct() public method

Resets the current struct.
public ResetCustomCodeStruct ( ) : void
return void
Exemplo n.º 1
0
 /// <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];
 }