Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
using System; | |
using UnityEngine; | |
public enum ValueType { Int, Float, Bool, String, Vector3 } | |
[Serializable] | |
public struct AnyValue { | |
public ValueType type; | |
// Storage for different types of values |
using UnityEditor; | |
using UnityEngine; | |
public class SnapRectTransformAnchorsToCorners : MonoBehaviour | |
{ | |
[MenuItem("CONTEXT/RectTransform/Snap Anchors To Corners", priority = 50)] | |
private static void Execute(MenuCommand command) | |
{ | |
RectTransform rectTransform = command.context as RectTransform; | |
RectTransform parent = rectTransform.parent as RectTransform; |
using System; | |
using UnityEngine; | |
using UnityEngine.Tilemaps; | |
using Random = UnityEngine.Random; | |
public class PlayerAnimator : MonoBehaviour { | |
[SerializeField] private float _minImpactForce = 20; | |
// Anim times can be gathered from the state itself, but | |
// for the simplicity of the video... |
ig.module( | |
'game.entities.square' | |
) | |
.requires( | |
'impact.entity' | |
) | |
.defines(function(){ | |
EntitySquare = ig.Entity.extend({ |
ig.module( | |
'game.plugins.camera' | |
) | |
.requires( | |
'impact.game', | |
'impact.image' | |
) | |
.defines(function () { |
impact3D = {}; | |
impact3D.models = impact3D.models || {}; | |
impact3D.entities = impact3D.entities || {}; | |
impact3D.player = impact3D.player || {}; | |
impact3D.scene = null; | |
impact3D.updateCount = 0; | |
impact3D.init = function(scene) | |
{ | |
console.log(" ***impact3D Init *** "); |