// Start is called before the first frame update void Start() { m_fall = GetComponent <fall>(); m_Rigidbody = GetComponent <Rigidbody>(); Collider = GetComponent <Collider>(); transform.rotation = Quaternion.Euler(0, 90, 0); xAccelerator = new walkingAccelerator(); zAccelerator = new walkingAccelerator(); }
// Start is called before the first frame update void Start() { m_fall = GetComponent <fall>(); m_Rigidbody = GetComponentInChildren <Rigidbody>(); }