Ejemplo n.º 1
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);

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

                UnityEngine.Vector3 param0 = ((CInstanceMember <UnityEngine.Vector3>)_param0).GetValue(self);
                ((Player)agent).getTarget(ref param0);
                _param0.SetValue(self, param0);
            }
Ejemplo n.º 2
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);

                string param0 = ((CInstanceMember <string>)_param0).GetValue(self);
                Agent  agent  = Utils.GetParentAgent(self, _instance);

                ((FirstAgent)agent).Say(ref param0);
                _param0.SetValue(self, param0);
            }
Ejemplo n.º 3
0
            public override void Run(Agent self)
            {
                Debug.Check(_value != null);

                string value = ((CInstanceMember <string>)_value).GetValue(self);
                Agent  agent = Utils.GetParentAgent(self, _instance);

                ((SecondAgent)agent).m2(ref value);
                _value.SetValue(self, value);
            }
Ejemplo n.º 4
0
            public override void Run(Agent self)
            {
                Debug.Check(_param0 != null);
                Debug.Check(_param1 != null);

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

                float param0 = ((CInstanceMember <float>)_param0).GetValue(self);
                int   param1 = ((CInstanceMember <int>)_param1).GetValue(self);

                ((Player)agent).getInfo(ref param0, ref param1);
                _param0.SetValue(self, param0);
                _param1.SetValue(self, param1);
            }