您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
18 行
583 B
18 行
583 B
using UnityEngine;
|
|
|
|
[CreateAssetMenu()]
|
|
public class GameConfiguration: ScriptableObject
|
|
{
|
|
[Header("Player movement")]
|
|
public float playerSpeed = 6.0f;
|
|
public float playerSprintSpeed = 6.0f;
|
|
public float playerAcceleration = 30.0f;
|
|
public float playerFriction = 6.0f;
|
|
public float playerAiracceleration = 3.0f;
|
|
public float playerAirFriction = 3.0f;
|
|
public float playerGravity = 9.82f;
|
|
public bool easterBunny = false;
|
|
public float jumpAscentDuration = 0.2f;
|
|
public float jumpAscentHeight = 1f;
|
|
public float maxFallVelocity = 10;
|
|
}
|