// -----------------------------------------------------------------------------
//
// Use this editor example C# file to develop editor (non-runtime) code.
//
// -----------------------------------------------------------------------------
namespace Unity.UIWidgets.Editor {
///
/// Provide a general description of the public class.
///
///
/// Packages require XmlDoc documentation for ALL Package APIs.
/// https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments
///
public class MyPublicEditorExampleClass {
///
/// Provide a description of what this private method does.
///
/// Description of parameter 1
/// Description of parameter 2
/// Description of parameter 3
/// Description of what the function returns
public int CountThingsAndDoStuff(int parameter1, int parameter2, bool parameter3) {
return parameter3 ? (parameter1 + parameter2) : (parameter1 - parameter2);
}
}
}