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