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 System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
public class EventSystemManaged : EventSystem | |
{ | |
static Stack<EventSystem> ms_PrevEventSystem = new Stack<EventSystem>(); | |
static bool ms_Forced = false; | |
protected override void OnEnable() |
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
#!/bin/bash | |
# usage: send path of an asset in. the script will find the GUID from the associated meta file, and look for usages of this GUID anywhere. | |
# of course only works with text mode (YAML) serialization | |
GUID=$(grep -Po '(?<=guid: )\w+' $1.meta) | |
echo "Object has GUID $GUID" | |
echo "Searching for instances..." | |
find . \( -name "*.asset" -o -name "*.prefab" -o -name "*.unity" \) -exec grep -l $GUID {} \; |
NewerOlder