Exemplo n.º 1
0
        void OnEnable()
        {
            // _targetBot = (Bot)target;
            _botDebugValues = new BotDebugValues((Bot)target);

            _botDebugValues.DebugDistanceType = "";
            if (target is BotLocomotive)
            {
                //_targetBotLocomotive = (BotLocomotive)target;
                _botDebugValues.TargetBotLocomotive = (BotLocomotive)target;
            }
        }
Exemplo n.º 2
0
 protected override void SetTarget(T target)
 {
     base.SetTarget(target);
     _botDebugValues = new BotDebugValues(Target);
 }