1
General Discussion / Re: PlayMaker Chatroom
« on: May 18, 2016, 01:55:25 AM »
Haha, I created a slack channel today and was going to post it. But since you already made Discord I will join there.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I don't think the platform is the issue, there simply doesn't seem to be that much interest in it. The Jabbr channel is has one-click accessibility and I'm there basically all day most of the time for support and questions.
I'll look into improving visibility on the front page of the forum so users are aware we have a chat channel.
using UnityEngine;
using System.Collections;
public class PrinceOfUnity : MonoBehaviour {
public float Speed = 1;
private float reverseSpeedTarget = -1;
private float reverseSpeedTime = 0.3f;
private float reverseSpeedVelocity;
protected Animator animator;
void Start ()
{
animator = GetComponent<Animator>();
animator.StartRecording(3000);
}
// Update is called once per frame
void Update ()
{
float axis = Input.GetAxis("LeftRightTrigger");
Speed = Mathf.SmoothDamp(Speed, axis > 0.1f ? reverseSpeedTarget : 1, ref reverseSpeedVelocity, reverseSpeedTime);
animator.speed = Speed;
}
}