Hello, in the turn based course, in the Action Camera, at 11:20 minutes you writte for me a mystery variable
you write :
Unit shooterUnit = ShootAction.GetUnit();
But we have published it in the BaseAction script.
In the ShootAction Script we have declared the public method to get the TargetUnit.
I understand why we return targetUnit because we have created this variable in this same script (shootAction), but we declare GetUnit in the BaseAcion Script.
Is it because ShootAction is a BaseAction class script ?
we can access by it to the public method in BaseAction Script ?
I’m a little bit confused lol
Thanks for the explain (again )
François