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
# A Tested .gitattributes for Unity Engine by Pipe | |
# Macro for Unity YAML-based asset files. | |
[attr]unityyaml -text merge=unityyamlmerge diff | |
# Macro for all binary files that should use Git LFS. | |
[attr]lfs -text filter=lfs diff=lfs merge=lfs | |
# Default to auto-normalized line endings. | |
* text=auto |
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
/** | |
* | |
* Position/angle motion control example | |
* Steps: | |
* 1) Configure the motor and magnetic sensor | |
* 2) Run the code | |
* 3) Set the target angle (in radians) from serial terminal | |
* | |
*/ | |
#include <SimpleFOC.h> |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
// Sample Code for NABA Students | |
public class TestCoroutine2 : MonoBehaviour | |
{ | |
public int MyScore; | |
// Start is called before the first frame update |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
// Sample Code for NABA Students | |
//http://dreamlo.com/lb/W9UHi5W6YUCzvxkTrYHwDQzX_YGs1Jv0qBWEXLMEd3zw | |
public class TestLeaderboardBehaviour : MonoBehaviour | |
{ | |
public string UserName; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using TMPro; | |
// Sample Code for NABA Students | |
public class UIEntryBehaviour : MonoBehaviour | |
{ | |
public TMP_Text UsernameField; | |
public TMP_Text UsernameScore; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ExampleTurnBasedGameWithCouroutine : MonoBehaviour | |
{ | |
public int CurrentTurn; | |
// Start is called before the first frame update | |
void Start() |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.XR.ARFoundation; | |
using UnityEngine.XR.ARSubsystems; | |
public class PlaceObjectBehaviour : MonoBehaviour | |
{ | |
public ARRaycastManager MyRaycastManager; |
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
// Made with Amplify Shader Editor v1.9.7.1 | |
// Available at the Unity Asset Store - http://u3d.as/y3X | |
Shader "StencilLensShader" | |
{ | |
Properties | |
{ | |
[HideInInspector] __dirty( "", Int ) = 1 | |
} | |
SubShader |
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
// Made with Amplify Shader Editor v1.9.7.1 | |
// Available at the Unity Asset Store - http://u3d.as/y3X | |
Shader "StencilShaderObject" | |
{ | |
Properties | |
{ | |
_MainTexture("MainTexture", 2D) = "white" {} | |
[HideInInspector] _texcoord( "", 2D ) = "white" {} | |
[HideInInspector] __dirty( "", Int ) = 1 | |
} |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.XR.ARFoundation; | |
public class FindFloorBehaviour : MonoBehaviour | |
{ | |
public GameObject[] PlanesFoundInScene; | |
public int NumberOfPlanes; |
OlderNewer