初始化仓库
This commit is contained in:
5
Samples/Example/.sample.json
Normal file
5
Samples/Example/.sample.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"displayName":"Example Sample",
|
||||
"description": "Replace this string with your own description of the sample. Delete the Samples folder if not needed.",
|
||||
"createSeparatePackage": false
|
||||
}
|
||||
28
Samples/Example/SampleExample.cs
Normal file
28
Samples/Example/SampleExample.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
// -----------------------------------------------------------------------------
|
||||
//
|
||||
// Use this sample example C# file to develop samples to guide usage of APIs
|
||||
// in your package.
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
namespace Lrss3.XericLibrary
|
||||
{
|
||||
/// <summary>
|
||||
/// Provide a general description of the public class.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Packages require XmlDoc documentation for ALL Package APIs.
|
||||
/// https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments
|
||||
/// </remarks>
|
||||
public class MyPublicSampleExampleClass
|
||||
{
|
||||
/// <summary>
|
||||
/// Provide a description of what this public method does.
|
||||
/// </summary>
|
||||
public void CountThingsAndDoStuffAndOutputIt()
|
||||
{
|
||||
var result = new MyPublicRuntimeExampleClass().CountThingsAndDoStuff(1, 2, false);
|
||||
Debug.Log("Call CountThingsAndDoStuffAndOutputIt returns " + result);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Samples/Example/SampleExample.cs.meta
Normal file
11
Samples/Example/SampleExample.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d5c96d394d80e624296ef2777a48dc07
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user