Skip to content

Instantly share code, notes, and snippets.

View DryreL's full-sized avatar
🏠
Working from home

Gökdeniz Çetin DryreL

🏠
Working from home
View GitHub Profile
@DryreL
DryreL / .gitattributes
Created July 25, 2021 07:50 — forked from Srfigie/.gitattributes
.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
@DryreL
DryreL / resetBindPose.py
Created June 11, 2022 18:47 — forked from RiggingRanger/resetBindPose.py
Reset / Save Bind Pose in Maya
"""Reset bind pose for selected joints."""
import maya.cmds as cmds
cmds.dagPose(bindPose=True, reset=True)
using UnityEngine;
using UnityEngine.UI;
[ExecuteInEditMode] // Allows the script to run in the editor
[RequireComponent(typeof(Button))] // Ensure the GameObject has a Button component
public class ButtonTextUpdater : MonoBehaviour
{
public Button myButton; // Reference to the Button component
public string buttonText = "Default Text"; // Default button text