예제 #1
0
 public void UpdateAnimClipAndPlayUnit()
 {
     //if (_weight < 1.0f)
     //{
     //	Debug.Log("[" + _playOrder + "] [" + _animClip._name + "] : " + _timeRatio + " / Weight " + _weight);
     //}
     //if (_playUnit.IsLoop)
     //{
     //	if (_timeRatio > 1.0f)
     //	{
     //		_timeRatio -= (int)_timeRatio;
     //	}
     //}
     //else
     //{
     //	if (_timeRatio > 1.0f)
     //	{
     //		_timeRatio = 1.0f;
     //	}
     //}
     //if(_animClip._name == "Shoot")
     //{
     //	Debug.Log("Update : " + _timeRatio + " /  Weight : " + _weight);
     //}
     _playUnit.Mecanim_Update(_weight, _timeRatio, _playOrder, _playedLayer, _blendMethod, _speed);
 }
예제 #2
0
 public void UpdateAnimClipAndPlayUnit()
 {
     _playUnit.Mecanim_Update(_weight, _timeRatio, _playOrder, _playedLayer, _blendMethod, _speed);
 }
 public void UpdateTimelineClipAndPlayUnit()
 {
     _playUnit.Mecanim_Update(_weight, _timeRatio, _playOrder, _layerIndex, _blendMethod, 1.0f);
 }