Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        InitializeNetwork();

        if (RPGPlayer == null)
            Debug.LogError("RPG Player are not signed to rpg camera");

        cameraMotor = RPGPlayer.GetComponent<FreeMoementMotor>();

        //transform.position = RPGPlayer.transform.position;
    }
    void Start()
    {
        InitializeNetwork();

        Vector3 angles = transform.eulerAngles;
        x = angles.y;

        motor = GetComponent <FreeMoementMotor>();
    }