void Awake() { minimap = GetComponent <Minimap>(); ZoomOutMultiplier = 1 / ZoomInMultiplier; }
/// <summary> /// Sets the event. Please call base.Start() if overriding. /// </summary> override protected void Start() { Minimap = GetComponent <Minimap>(); Minimap.MinimapClicked += ToggleContextMenu; base.Start(); }