// Start is called before the first frame update protected override void Start() { moveSpeed = 8f; jumpForce = 10f; power = new ForwardDash(); weapon = new Gun(); base.Start(); }
static public void AddForwardDash(GameObject gameObject, ActionSequence sequence) { ForwardDash action = new ForwardDash(); action.source = gameObject; action.force = 6f; action.duration = 0.4f; QueuePop(sequence,3); sequence.actions.Add(action); }