/// <summary> /// Function check before shooting the bullet. /// /// Function itself must return a boolean, /// in order to check the shoot action. /// </summary> /// <param name="func"> functin to check able to do the shoot action. </param> public void SetCheckAbleToShootFunction(CheckAbleToShoot func) { this.mCheckAbleToShoot = func; }
/// <summary> /// Function to check if able to do this action. /// </summary> /// <param name="func"></param> public void SetCheckAbleToShootFunction(CheckAbleToShoot func) { this.mShootAction.SetCheckAbleToShootFunction(func); }