[code=javascript] Rigidbody2D.AddForce (transform.up * jumpPower);
and this is the error: Assets/scripting/walk.js(44,22): BCE0020: An instance of type 'UnityEngine.Rigidbody2D' is required to access non static member 'AddForce'.
↧