Пример #1
0
    public bool fall = false; // GameCrearから指示

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

        state = "STOP";
    }
Пример #2
0
 void Start()
 {
     SetNextSentence();
     if (!gameCrear)
     {
         events = FindObjectOfType <GameEvents_Rooftop>();
         events.MoveAnimation(a);
     }
     if (gameCrear)
     {
         crear = FindObjectOfType <GameCrear_Rooftop>();
         crear.MoveAnimation(a);
     }
 }
Пример #3
0
    public bool fall  = false; // GameCrearから指示

    void Start()
    {
        this.rb       = GetComponent <Rigidbody2D>();
        this.animator = GetComponent <Animator>();
        crear         = FindObjectOfType <GameCrear_Rooftop>();

        if (human)
        {
            state = "STOP";
        }
        if (!human)
        {
            state = "STOP";
        }
    }