private void Awake()
 {
     //Inicializa variaveis gerais
     myTransform            = transform;
     myRigidbody            = rigidbody;
     myCollider             = collider;
     myGameObject           = gameObject;
     charAnimator           = GetComponent <NetworkCharacterFawkesAnimator>();
     transformReceiver      = GetComponent <NetworkPlayerTransformReceiver>();
     transformInterpolation = GetComponent <NetworkPlayerTransformInterpolation>();
     //statusHandler = GetComponent<StatusHandler>();
 }
Ejemplo n.º 2
0
    // Use this for initialization
    void Awake()
    {
        myTransform = transform;

        interpolator = GetComponent <NetworkPlayerTransformInterpolation>();
    }