示例#1
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);
                Debug.Check(_param1 != null);

                _returnValue.value = behaviac.Agent.VectorContains((IList)_param0.GetValueObject(self), (System.Object)_param1.GetValueObject(self));
            }
示例#2
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);

                behaviac.Agent.VectorClear((IList)_param0.GetValueObject(self));
            }
示例#3
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);

                _returnValue.value = behaviac.Agent.VectorLength((IList)_param0.GetValueObject(self));
            }
示例#4
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);
                Debug.Check(_param1 != null);

                behaviac.Agent.VectorAdd((IList)_param0.GetValueObject(self), (System.Object)_param1.GetValueObject(self));
            }
示例#5
0
            public override void Run(Agent self)
            {
                Debug.Check(_enemyTarget != null);

                Agent agent = Utils.GetParentAgent(self, _instance);

                _returnValue.value = ((SoilderAgent)agent).TestEnemyInAtkRange((FightAgent)_enemyTarget.GetValueObject(self));
            }