static Grid_Helper() { GameObject g; g = SafeFind("_Holder"); helper = (Helper_Manager)SafeComponent(g, "Helper_Manager"); animHelper = (Animation_Helper)SafeComponent(g, "Animation_Helper"); itemDataBase = (Item_Database)SafeComponent(g, "Item_Database"); inventory = (Inventory)SafeComponent(g, "Inventory"); tooltip = (Tooltip)SafeComponent(g, "Tooltip"); stateManager = (State_Manager)SafeComponent(g, "State_Manager"); setup = (Setup)SafeComponent(g, "Setup"); dialogueData = (Dialogue_Data)SafeComponent(g, "Dialogue_Data"); uiUpdate = (UI_Update)SafeComponent(g, "UI_Update"); g = SafeFind("Sound_Manager"); soundManager = (Sound_Manager)SafeComponent(g, "Sound_Manager"); g = SafeFind("OptionsCanvas"); optionManager = (Options_Manager)SafeComponent(g, "Options_Manager"); kBinds = (Keybinds)SafeComponent(g, "Keybinds"); g = SafeFind("DemoEndPanel"); endPanel = (Move_GameObject)SafeComponent(g, "Move_GameObject"); g = SafeFind("Scene Change Visuals"); visualTransition = (Visual_Transition_System)SafeComponent(g, "Visual_Transition_System"); }
static Grid() { GameObject g; g = SafeFind("_Holder"); helper = (Helper_Manager)SafeComponent(g, "Helper_Manager"); itemDataBase = (Item_Database)SafeComponent(g, "Item_Database"); inventory = (Inventory)SafeComponent(g, "Inventory"); tooltip = (Tooltip)SafeComponent(g, "Tooltip"); stateManager = (State_Manager)SafeComponent(g, "State_Manager"); setup = (Setup)SafeComponent(g, "Setup"); g = SafeFind("Sound_Manager"); soundManager = (Sound_Manager)SafeComponent(g, "Sound_Manager"); g = SafeFind("OptionsCanvas"); optionManager = (Options_Manager)SafeComponent(g, "Options_Manager"); g = SafeFind("Death Panel"); deathPanel = (Move_GameObject)SafeComponent(g, "Move_GameObject"); }