[Unity] Basic Inputs

Keyboard/Controller Inputs GetButtonDown//TBD GetAxis, GetAxisRawex)  //one time press, not continuous public RectTransform myCurser;Vector3 myOffset = new Vector3(200, 0, 0);bool inUseFlag = false;void Update(){ if(Input.GetAxisRaw(“Horizontal”) != 0)  { 

Read More »

[Unity] Basic Movements

In most cases, you first need to get either transform variable or rigidbody variable of an object. Transform.position*”transform” is a variable that refers to the

Read More »
Scroll to Top