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; | |
public class Math3d : MonoBehaviour { | |
private static Transform tempChild = null; | |
private static Transform tempParent = null; | |
public static void Init(){ |
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
/* | |
v2: Matt Rix pointed out there's an undocumented ONGeneratedCSProjectFiles() callback | |
https://gist.github.com/MattRix/0bf8de88e16e8b494dbb | |
v1: Still available in the gist history if you want a FileSystemWatcher solution! | |
THE PROBLEM: | |
- Unity constantly rewrites its .sln files whenever you rename/add/remove scripts |