Skip to content

Instantly share code, notes, and snippets.

View jasielmacedo's full-sized avatar
👋

Jazz Macedo jasielmacedo

👋
View GitHub Profile
@nemotoo
nemotoo / .gitattributes
Last active October 14, 2024 00:03
.gitattributes for Unity3D with git-lfs
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@jasielmacedo
jasielmacedo / IntObfuscator.cs
Last active March 16, 2017 17:08
Every variable in game is important and unsecured ints can be changed using Cheat Engine. This class can obfuscate your int
using UnityEngine;
using System.Collections;
public struct IntObfuscator
{
private int m_offset;
private int m_value;
public IntObfuscator(int value = 0)
{
using UnityEngine;
public class TerrainDetector
{
private TerrainData terrainData;
private int alphamapWidth;
private int alphamapHeight;
private float[,,] splatmapData;
private int numTextures;
using UnityEngine;
public class FootSteps : MonoBehaviour
{
[SerializeField]
private AudioClip[] stoneClips;
[SerializeField]
private AudioClip[] mudClips;
[SerializeField]
private AudioClip[] grassClips;
@lucassmonn
lucassmonn / flex.html
Created April 6, 2020 14:24
Exemplo de flexbox
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlexBox</title>
</head>
<body>