Skip to content

Instantly share code, notes, and snippets.

@JoseMiguelPizarro
Created August 31, 2019 13:39
Show Gist options
  • Save JoseMiguelPizarro/e25c4deed0e63936f8df4d739ebbe736 to your computer and use it in GitHub Desktop.
Save JoseMiguelPizarro/e25c4deed0e63936f8df4d739ebbe736 to your computer and use it in GitHub Desktop.
using UnityEngine;
public class SelectTool : LevelMeshTool
{
public override string IconPath => "Assets/Resources/Icons/select.png";
public override string ToolName => "Select tool";
public override void Act(LevelMeshEditor editorState, Event current)
{
Debug.Log("I'm selecting something ;)");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment