// -----------------------------------------------------------------------------
//
// Use this runtime example C# file to develop runtime code.
//
// -----------------------------------------------------------------------------
namespace UnityEngine.SubGroup.YourPackageName
{
///
/// 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 MyPublicRuntimeExampleClass
{
///
/// 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);
}
}
}