コード例 #1
0
 private void CreateParameterInfoList()
 {
     this.m_ParameterInfoList = new List <TransitionPreview.ParameterInfo>();
     if (this.m_Controller && this.m_Controller.parameters != null)
     {
         int num = this.m_Controller.parameters.Length;
         for (int i = 0; i < num; i++)
         {
             TransitionPreview.ParameterInfo parameterInfo = new TransitionPreview.ParameterInfo();
             parameterInfo.m_Name = this.m_Controller.parameters[i].name;
             this.m_ParameterInfoList.Add(parameterInfo);
         }
     }
 }
コード例 #2
0
		private void CreateParameterInfoList()
		{
			this.m_ParameterInfoList = new List<TransitionPreview.ParameterInfo>();
			if (this.m_Controller && this.m_Controller.parameters != null)
			{
				int num = this.m_Controller.parameters.Length;
				for (int i = 0; i < num; i++)
				{
					TransitionPreview.ParameterInfo parameterInfo = new TransitionPreview.ParameterInfo();
					parameterInfo.m_Name = this.m_Controller.parameters[i].name;
					this.m_ParameterInfoList.Add(parameterInfo);
				}
			}
		}