This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BotController : MonoBehaviour | |
{ | |
private void Start() | |
{ | |
Send("Hello world!"); | |
} | |
/// <summary> | |
/// Sends a message to a Slack channel using the Slackbot API through the chat.postMessage (https://api.slack.com/methods/chat.postMessage) | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using GeneticSharp.Domain; | |
using GeneticSharp.Domain.Chromosomes; | |
using GeneticSharp.Domain.Crossovers; | |
using GeneticSharp.Domain.Fitnesses; | |
using GeneticSharp.Domain.Mutations; | |
using GeneticSharp.Domain.Populations; | |
using GeneticSharp.Domain.Selections; | |
using GeneticSharp.Domain.Terminations; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEngine.SceneManagement; | |
using System.Linq; | |
/// <summary> | |
/// Scene preview. | |
/// https://diegogiacomelli.com.br/unity3d-scenepreview-inspector/ | |
/// </summary> | |
[CustomEditor(typeof(SceneAsset))] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class TspCity | |
{ | |
public Vector2 Position { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// Sorting Layer Debugger. | |
/// https://diegogiacomelli.com.br/a-sorting-layer-debugger-for-unity/ | |
/// </summary> | |
public class SortingLayerDebugger : EditorWindow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var physicalPath: string = '/site/wwwroot'; | |
if(taskParams.VirtualApplication) | |
{ | |
physicalPath = await appServiceUtility.getPhysicalPath(taskParams.VirtualApplication); | |
await kuduServiceUtility.createPathIfRequired(physicalPath); | |
virtualApplicationPath = physicalPath; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// Folder organizer editor window. | |
/// http://diegogiacomelli.com.br/using-an-assetpostprocessor-editorwindow-to-keep-assets-organized-on-unity-projects | |
/// </summary> | |
public class FolderOrganizerEditorWindow : EditorWindow | |
{ | |
FolderOrganizerSettings _settings; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// Easing2Curve: An editor window to create animation curve from easing functions | |
/// http://diegogiacomelli.com.br/easing-2-curve-an-editor-window-to-create-animation-curve-from-easing-functions/ | |
/// </summary> | |
public class Easing2CurveEditorWindow : EditorWindow | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace Ocr | |
{ | |
/// <summary> | |
/// Service to read texts from images through OCR Tesseract engine. |
OlderNewer