public void AgentSetRewardDirectly(float reward)
 {
     if (this.isScriptValid() && this.getScriptType() == "AgentScript")
     {
         AgentScript.SetReward(reward);
     }
 }