key

  • 10 Haz 2015
  • 23 Tem 2014 tarihinde katıldı

    mitch
    OMG!! thank you very much! :0

    • Düzenlendi

    hi! please help!
    import to UNITY, it is an error!!

    Below, the three files, I was imported at the same time. Drag-and-dropped.
    spineboy.json
    spineboy.png
    spineboy.txt

    the txt, and now the same error even if the atlas.(spineboy.txt>>>spineboy.atlas)


    C # and UNITY runtime contains.
    Runtime is the latest.

    UNITY Pro 4.6.1f1
    Spine 2.1.09Pro

  • two girls animation. tartışmasında

    absolutely great!
    Thank you for sharing. :clap:

  • two girls animation. tartışmasında

    wonderful! Seeing it cannot keep waiting for me. :yes: :yes: :yes:

  • help!!! UNITY error tartışmasında

    Thank you, Shiu&Pharan!!
    Although the result differed from what was desired,
    I was able to escape from the error anyhow!!!!!! :rofl:

    Finally, the code written by me is like this.

    using UnityEngine;
    using System.Collections;
    using Spine;
    using System;
    public class Stop : MonoBehaviour {
       public Spine.AnimationState state;
       public SkeletonAnimation skeletonAnimation;
    float delta=3.0f;
    
       void Start (){
          skeletonAnimation = GetComponent<SkeletonAnimation>();
    
       }
       void Update(){
       if (Input.GetKey("a")) {
                 skeletonAnimation.state.Update(delta);
          }
       }
    
    }

    pharan
    MonoBehaviour...If it deletes...

    error CS0103: The name `GetComponent' does not exist in the current context

    About Runtimes fundamental structure, I study henceforth.

    Thank you very very much! :handshake:

  • help!!! UNITY error tartışmasında
    • Düzenlendi
  • help!!! UNITY error tartışmasında

    Hello everybody! I'm Newby, but it is serious! !

    Since I'm using the Javascript of Unity, C # do not know!!!
    In addition, I do not know English!!Thanks!!!!!!
    I have stumbled code rudimentary few days!!thanks!!!!

    This code, I wrote a test in order to stop the animation of Spine-tk2d> example> spineboy.

    using UnityEngine;
    using System.Collections;
    using Spine;
    using System;
    public class Stop : MonoBehaviour {
    private AnimationState state;
    private SkeletonAnimation skeletonAnimation;
    // Use this for initialization
    void Start () {

    skeletonAnimation = GetComponent<SkeletonAnimation>();
    
    skeletonAnimation.state = new AnimationState(stateData);
    }
    
    // Update is called once per frame
    void Update () {
    skeletonAnimation.state.update(delta);
    }

    }

    Errors Occur.

    Assets/Spine/spine-tk2d/Assets/examples/spineboy/Stop.cs(6,17): error CS0104: AnimationState' is an ambiguous reference betweenUnityEngine.AnimationState' and `Spine.AnimationState'

    Forum has repeatedly search.
    Reference Topic

    can I solve?

    private Spine.AnimationState state;

    It was not this way of writing is meaningless ...

    Help Me
    Thank you. :handshake:

    • Düzenlendi

    (Since I do not understand English, I am using translation software. Please forgive.)
    hello.
    I purchased Pro. Thank you for the wonderful work!

    question.
    I am using Javascript of Unity.
    The run time operates normally in Unity and C#.
    however . Hope wants to operate [ the Spine class ] from Javascript.
    I moved all Spine folders to the Plugins folder.

    There are 2 problems.

    1:
    An error is displayed although animation plays.

    Instance of SkeletonAnimationInspector couldn't be created. The script class needs to derive from ScriptableObjectand be placed in the Assets/Editor folder.

    2:
    It becomes impossible for the display of a component to change and control.

    [Multi-object editing not supported.]

    I do not know how I should cope with it. Please lend knowledge.
    thanks. 🙂