Sign in

Gabriel Perez


Objective

Setup

Scripting

[SerializeField] private float _gravity = 1.0f;
[SerializeField] private float _jumpHeight = 8f;
[SerializeField] private bool _canDoubleJump = false;
private float _yVelocity;

Objective

How I did it


Manager Classes

Singleton Pattern



Objective

Security Camera Game Object


Objective

Setting up

if (Input.GetMouseButtonDown(1))
{
var mousePos = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit _hit;

if (Physics.Raycast(mousePos, out _hit))
{
Instantiate(_coin, _hit.point, Quaternion.identity);
}
}


Objective

Trigger Collider


Objective

Unintelligent Agent

Gabriel Perez

Hello everyone, My name is Gabriel Perez, I am a Unity Developer and a creator who is always learning and experimenting.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store