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
# 2015.2 Sami Sorjonen | |
# License: | |
# This script is “free as in beer” i.e. | |
# feel free to use this script in Blender any way you like | |
# However do not re-distribute the script - share a link to my page instead | |
# How to install: | |
# Go to Preferences (Ctrl + Alt + U) | |
# Select Add-ons tab |
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; | |
namespace ConditionalEditorSelection | |
{ | |
// 2021.1.1 | |
// Written by Sami S. | |
// How to prevent Unity Editor Scene default selection behavior | |
// NOTE: |
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
// Visualize Unity Tilemap center and bounds | |
// Red border shows the Tilemap current bounds | |
// Green cross shows the 0,0,0 position of Tilemap | |
// Script does take into account position of Tilemap in World space | |
// but if the Grid or Tilemap is scaled or rotated | |
// the rendering no longer will be aligned to Tilemap | |
// Allows to see unused space where user has erased the tiles | |
// but hasn't compressed the bounds. |
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
# 2015.10 | |
# 2020.6 | |
# 2021.1 - Sami S. | |
# License: | |
# This script is “free as in beer” i.e. | |
# feel free to use this script in Blender any way you like. | |
# However, do not re-distribute the script - share a link to my page instead! | |
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 System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class LateSprite : MonoBehaviour | |
{ | |
public SpriteRenderer rend; | |
public string sheetName; | |
List<Sprite> sprites; |