このブログの人気の投稿
Game Making today script changed give player 2D physics. using UnityEngine; using System.Collections; [RequireComponent (typeof (Controller2D))] public class Player : MonoBehaviour { public float maxJumpHeight = 4; public float minJumpHeight = 1; public float timeToJumpApex = .4f; float accelerationTimeAirborne = .2f; float accelerationTimeGrounded = .1f; float moveSpeed = 6; public Vector2 wallJumpClimb; public Vector2 wallJumpOff; public Vector2 wallLeap; public float wallSlideSpeedMax = 3; public float wallStickTime = .25f; float timeToWallUnstick; float gravity; float maxJumpVelocity; float minJumpVelocity; Vector3 velocity; float velocityXSmoothing; Con...
コメント
コメントを投稿