void Start()
    {
        this.rb       = GetComponent <Rigidbody2D>();
        this.animator = GetComponent <Animator>();
        rule          = FindObjectOfType <GameRule>();
        events        = FindObjectOfType <GameStart_Allo>();

        state = "STOP";
    }
Exemplo n.º 2
0
    string prevState;          // 前の状態を保存

    void Start()
    {
        this.animator = GetComponent <Animator>();
        start         = FindObjectOfType <GameStart_Allo>();
        state         = "STOP";
    }
Exemplo n.º 3
0
    bool one = true;                                // clickIconObj(Clone)用

    void Start()
    {
        SetNextSentence();
        events = FindObjectOfType <GameStart_Allo>();
        events.MoveAnimation(a);
    }