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
| internal static class UnicodeCharacters | |
| { | |
| struct CharacterInfo | |
| { | |
| public char character; | |
| public char lower; | |
| public int characterCode; | |
| public int lowerCode; | |
| public override string ToString() |
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
| public static class MathHelper | |
| { | |
| public struct MassPosition | |
| { | |
| public Vector3 position; | |
| public float mass; | |
| } | |
| public static Vector3 CenterOfMass(List<MassPosition> massPositions) | |
| { |
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 System.Collections; | |
| using UnityEditor; | |
| using System.Collections.Generic; | |
| public class FindObjectsInTheSceneHelper : EditorWindow | |
| { | |
| string className = "Rigidbody"; | |
| [MenuItem(MenuItemName.SceneTools + "Find Objects In Current Scene", false, MenuItemSorter.SceneToolsFind)] |
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
| find . -name *.mp4 | sed -e 'p;s#\./\([0-9]*\)\.[a-zA-Z_]*/#0\1_#g' | xargs -n2 mv |
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
| find . -name '*.unity3d' -exec head -c 26 '{}' ';' -exec echo " '{}'" ';' | cut -c 18- | sort |
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
| namespace My | |
| { | |
| class GameObject | |
| { | |
| public Transform transform; | |
| } | |
| class Transform | |
| { | |
| public Vector3 position; |