This file contains hidden or 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; | |
// Component does nothing; editor script does all the magic | |
public class SortingLayerExposed : MonoBehaviour { } |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<!-- External dependencies --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.6/flatly/bootstrap.min.css"> |
This file contains hidden or 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 MoonSharp.Interpreter; | |
using System; | |
/// <summary> | |
/// These are custom converters for Vector2 and Vector3 structs. | |
/// | |
/// Add the following call to your code: | |
/// LuaCustomConverters.RegisterAll(); | |
/// |
This file contains hidden or 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
Big O complexities for common methods of Java Collections and common sorting algorithms. | |
Complexity (Best to Worst) | |
=================================================================================================== | |
O(1) < O(log n) < O(n) < O(n log n) < O(n^2) < O(2^n) < O(n!) | |
Collections | |
=================================================================================================== |