|
|
|
@ -53,6 +53,13 @@ public class Entity |
|
|
|
|
|
|
|
// Set a default pose based on the first animation frame
|
|
|
|
UpdateAnimation(0); |
|
|
|
|
|
|
|
if (model.AutoAnimate) |
|
|
|
{ |
|
|
|
// TODO: do something with syncbase value to push similar animations out of phase
|
|
|
|
var animator = gameObject.AddComponent<AliasModelAnimator>(); |
|
|
|
animator.aliasModel = model; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void SetBrushModel(GameObject brushModelGO) |
|
|
|
|