Inheritance: GoGoComponent
    // Use this for initialization
    void Awake()
    {
        gogoAnimator          = (GoGoAnimator)target;
        gogoAnimator.animator = gogoAnimator.GetComponent <Animator> ();
        RegisterKeyFrameList(gogoAnimator.animatorKeyFrameList.Cast <KeyFrameBase>());
        EditorApplication.update += UpdateInEditorMode;

        SetMecanimData();
    }
Ejemplo n.º 2
0
    // Use this for initialization
    void Awake()
    {
        gogoAnimator = (GoGoAnimator)target;
        gogoAnimator.animator = gogoAnimator.GetComponent<Animator> ();
        RegisterKeyFrameList(gogoAnimator.animatorKeyFrameList.Cast<KeyFrameBase>());
        EditorApplication.update += UpdateInEditorMode;

        SetMecanimData();
    }