<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Parameter Reference on Arbor Documentation</title>
    <link>/manual/scripting/parameterreference.html</link>
    <description>Recent content in Parameter Reference on Arbor Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 10 Nov 2016 07:15:23 +0000</lastBuildDate>
    
	<atom:link href="/manual/scripting/parameterreference/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>ParameterReference</title>
      <link>/manual/scripting/parameterreference/parameterreference.html</link>
      <pubDate>Thu, 10 Nov 2016 07:15:23 +0000</pubDate>
      
      <guid>/manual/scripting/parameterreference/parameterreference.html</guid>
      <description>By declaring the ParameterReference association class in the field, you can refer to the parameter.
Example script 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  using UnityEngine;
using Arbor;
public class TestParameterReference : MonoBehaviour
{
public IntParameterReference intParameter;
void Start ()
{
if (intParameter.parameter != null)
{
Debug.Log(intParameter.parameter.name + &amp;#34; : &amp;#34; + intParameter.parameter.intValue);
}
}
}    When you add this script to GameObject, it becomes as follows.</description>
    </item>
    
    <item>
      <title>FlexibleField</title>
      <link>/manual/scripting/parameterreference/flexiblefield.html</link>
      <pubDate>Thu, 10 Nov 2016 07:15:23 +0000</pubDate>
      
      <guid>/manual/scripting/parameterreference/flexiblefield.html</guid>
      <description>Using the FlexibleField association class, you can select and reference constant values, parameter reference, or data flow input.
Example script 1 2 3 4 5 6 7 8 9 10 11 12 13  using UnityEngine;
using Arbor;
[AddComponentMenu(&amp;#34;&amp;#34;)]
public class TestFlexibleFieldBehaviour : StateBehaviour
{
public FlexibleInt flexibleInt;
public override void OnStateBegin()
{
Debug.Log(&amp;#34;flexibleInt : &amp;#34; + flexibleInt.value);
}
}    When this script is added to the state of ArborFSM, it becomes as follows.</description>
    </item>
    
    <item>
      <title>Type of constraints that reference</title>
      <link>/manual/scripting/parameterreference/constraint.html</link>
      <pubDate>Thu, 10 Nov 2016 07:15:23 +0000</pubDate>
      
      <guid>/manual/scripting/parameterreference/constraint.html</guid>
      <description>AnyParameterReference and ComponentParameterReference can constrain referencing types by specifying attributes.
Example script 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23  using UnityEngine;
using Arbor;
[AddComponentMenu(&amp;#34;&amp;#34;)]
public class TestConstraintReferenceBehaviour : StateBehaviour
{
[ClassExtends(typeof(AudioSource))]
public ComponentParameterReference audioSource = new ComponentParameterReference();
[ClassExtends(typeof(AudioClip))]
public AssetObjectParameterReference audioClip = new AssetObjectParameterReference();
// Use this for enter state
	public override void OnStateBegin()
{
AudioSource source = audioSource.</description>
    </item>
    
  </channel>
</rss>