This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# === For rooted LG TVs with WebOsBrew installed only === | |
# | |
# On LG WebOStv, RetroArch only have access to a few jailed folders so to run games on a usb drive, | |
# we need to 'merge' the USB mounting point with one of those jailed folders using OverlayFS. | |
# The scripts on folder '/var/lib/webosbrew/init.d/' will run after every tv boot. | |
# Remove the $STARTUP_FOLDER/$SCRIPT_TO_RUN_AFTER_BOOT and reboot to revert the change. | |
# | |
# Tested on 7.3.0-03.30.72 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class JumpingCharacterControllerExample : MonoBehaviour | |
{ | |
[SerializeField] private float jumpHeight; | |
[SerializeField] private float timeToReachJumpApex; | |
private Vector3 _velocity; | |
private Vector3 _oldVelocity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DONT PUT IN EDITOR FOLDER | |
using System; | |
using UnityEngine; | |
/// <summary> | |
/// Attribute used to show or hide the Field depending on certain conditions | |
/// </summary> | |
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)] | |
public class ShowWhenAttribute : PropertyAttribute { |