// Update is called once per frame
    void Update()
    {
        if (CrossPlatformInputManager.GetButtonDown("Fire"))
        {
            /*GamerController mainGameController = GetGameController();
             * int currentPlayerIndex = mainGameController.GetCurrentPlayerIndex();
             *
             * Debug.Log("Here we have index:"+currentPlayerIndex);*/

            GamerController mainGameController = GetGameController();
            CharacterObject currentObject      = mainGameController.GetCurrentCharacterObject();

            // Fire only when both are originating from the same object
            if (/*canFireCheck(currentObject) && */ currentObject.weaponName.Equals("Grenade"))
            {
                currentObject.charActions.Attack();
                ThrowGrenade();
                mainGameController.UpdateEnergy(20f);
            }
        }
    }