ATMedia.CustomTools.ScriptGeneration.CustomCodeStruct.ResetCustomCodeStruct C# (CSharp) Method

ResetCustomCodeStruct() public method

Resets the current struct.
public ResetCustomCodeStruct ( ) : void
return void
        public void ResetCustomCodeStruct()
        {
            customCode = string.Empty;
        }
    }

Usage Example

Example #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];
 }
CustomCodeStruct