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 UnityEditor; | |
[InitializeOnLoad] | |
internal class PrefabExtension | |
{ | |
static PrefabExtension() | |
{ | |
UnityEditor.PrefabUtility.prefabInstanceUpdated += OnPrefabInstanceUpdate; | |
} |
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 System.Collections.Generic; | |
/* | |
Deterministic random manager, where you can dump into your code a random array (to freeze it), | |
with also the option to have it neutral (average=median value). | |
*/ | |
public class RandomSequence | |
{ //Auxiliary function to dump into code a random sequence, to freeze it, control it. |