Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        m_myAnim       = GetComponent <Animator>();
        m_myAnim.speed = 0;

        m_bObj = transform.parent.GetComponent <BrakebleObj>();

        player = FindObjectOfType <Player>();
        rush   = FindObjectOfType <RushGage>();

        manager = FindObjectOfType <MainManager>();
    }