public override void OnInitialize() { base.OnInitialize(); cachedHarvest = cachedAgent.GetAbility <Harvest>(); }
protected override void OnInitialize() { base.OnInitialize(); cachedBuild = Agent.GetAbility <Construct>(); cachedHarvest = Agent.GetAbility <Harvest>(); }