17 public CanvasGroup
cg;
53 InvokeRepeating(
"UpdateMousePos", 0f, 0.1f);
57 for (
int i = 0; i < array.Length; i++)
59 array[i].SetActive(enable:
false);
63 SoundManager.disableSpread =
true;
64 ELayer.Sound.zone.enabled =
false;
65 ELayer.scene.cam.enabled =
false;
71 textMode.text =
"[" + (
"h_" +
hoard.
mode).lang() +
"]";
77 Object.DestroyImmediate(
actor.gameObject);
79 ELayer.ui.cg.alpha = 1f;
81 SoundManager.disableSpread =
false;
82 ELayer.Sound.zone.enabled =
true;
83 ELayer.scene.cam.enabled =
true;
93 if (Input.GetMouseButtonDown(2))
99 if (Input.GetKeyDown(KeyCode.H))
110 if (Input.GetKeyDown(KeyCode.M))
115 if ((
bool)collectibleActor && collectibleActor.gameObject.activeInHierarchy)
120 rigidExplode.radius *= 10f;
121 rigidExplode.force *= 10f;
122 rigidExplode.chance = 1f;
123 rigidExplode.intervalMin = (rigidExplode.intervalMax = 2f);
124 rigidExplode.rb = collectibleActor.GetComponent<Rigidbody2D>();
134 if (
ELayer.
ui.GetTopLayer() !=
this || ((bool)componentOf && componentOf.transform.IsChildOf(base.transform)) ||
hasMouseMoved)
161 if (!row.tag.Contains(
"noSpawn"))
163 int num = ((row.num == 0) ? 10 : row.num);
175 if (!row.tag.Contains(
"noSpawn"))
201 int max = actor.bgs.Length - 1;
202 uIContextMenu.
AddSlider(
"room", (
float n) => n +
" / " + max,
hoard.
bg, delegate(
float v)
206 }, 0f, max, isInt:
true, hideOther:
false);
209 hoard.reflection = (int)
v;
211 }, 0f, 300f, isInt:
true, hideOther:
false);
214 hoard.maxSounds = (int)
v;
215 }, 0f, 64f, isInt:
true, hideOther:
false);
218 hoard.volume = (int)
v;
219 }, 0f, 200f, isInt:
true, hideOther:
false);
230 hoard.pixelPerfect = on;
233 uIContextMenu.
Show();
static ActionMode DefaultMode
void Activate(bool toggle=true, bool forceActivate=false)
static SourceManager sources
static SoundManager Sound
List< CollectibleActor > actors
List< RigidUpdate > updates
Dictionary< string, Item > items
override void OnAfterInit()
static PopItem TalkHomeMemeber(string id)
static void SayPic(Card c, string lang)
static void Nerun(string lang, string idPortrait="UN_nerun")
SourceCollectible collectibles