예제 #1
0
    // Use this for initialization
    void Start()
    {
        rb         = GetComponent <Rigidbody>();
        anim       = GetComponent <Animator>();
        anim.speed = moveData.MoveSpeed();

        projectileSpawnTimer = 0f;

        previousWeapon = weapon;
        newWeapon      = false;
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        anim       = GetComponent <Animator>();
        anim.speed = moveData.MoveSpeed();

        projectileSpawnTimer = 0f;
    }