Esempio n. 1
0
    void Awake()
    {
        acceleration =  new Cinematic(10f, jumpSpeed);
        y0 = transform.position.y;
        //Debug.LogError ("Y0=" + y0);

        platformerChar = GetComponent<PlatformerChar> ();
    }
Esempio n. 2
0
    void Awake()
    {
        acceleration = new Cinematic(10f, jumpSpeed);
        y0           = transform.position.y;
        //Debug.LogError ("Y0=" + y0);

        platformerChar = GetComponent <PlatformerChar> ();
    }