Skip to content

Instantly share code, notes, and snippets.

View giacomelli's full-sized avatar
🎮
gamedev

Diego Giacomelli giacomelli

🎮
gamedev
View GitHub Profile
using UnityEngine;
public class TspCity
{
public Vector2 Position { get; set; }
}
using UnityEngine;
using UnityEditor;
using UnityEngine.SceneManagement;
using System.Linq;
/// <summary>
/// Scene preview.
/// https://diegogiacomelli.com.br/unity3d-scenepreview-inspector/
/// </summary>
[CustomEditor(typeof(SceneAsset))]
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;
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>