コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AnimationController"/> class.
 /// </summary>
 /// <param name="model">
 /// The model whose animations will be played.
 /// </param>
 /// <param name="script">
 /// The script instance.
 /// </param>
 public AnimationController(ModelAsset model, ScriptAsset script)
 {
     this.m_Model          = model;
     this.m_ScriptInstance = script.CreateInstance();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AnimationController"/> class.
 /// </summary>
 /// <param name="model">
 /// The model whose animations will be played.
 /// </param>
 /// <param name="script">
 /// The script instance.
 /// </param>
 public AnimationController(IModel model, ScriptAsset script)
 {
     _model          = model;
     _scriptInstance = script.CreateInstance();
 }