// Use this for initialization void Start() { energymanagment = GetComponent<Energymanagement>(); GameeventManager.onEnableShootHandler += reactOnEnableShoot; GameeventManager.onDisableShootHandler += reactOnDisableShoot; droneCamera = GameObject.FindGameObjectWithTag(Config.DRONE_CAMERA_TAG).camera; }
// Use this for initialization void Start() { energymanagment = GetComponent<Energymanagement>(); downIconXposition = inventoryXposition + iconDistance; upIconXposition = downIconXposition + iconWidth + iconDistance; showIconXposition = upIconXposition + iconWidth + iconDistance; slowIconXposition = showIconXposition + iconWidth + iconDistance; shootIconXposition = slowIconXposition + iconWidth + iconDistance; Screen.lockCursor = true; }