Esempio n. 1
0
    private AnimController animController;         // The animation controller

    // Use this for initialization
    void Awake()
    {
        // Assign some vars
        noGravityScript = GetComponent <NoGravityPhysicsStuff> ();
        animController  = GetComponent <AnimController> ();
        rigBody         = GetComponent <Rigidbody> ();
        canGrab         = false;
    }
 void Awake()
 {
     noGravityScript = GetComponent <NoGravityPhysicsStuff> ();
 }