This file contains 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; | |
using System.Collections; | |
public class Shoot8Dir : MonoBehaviour { | |
Vector2 dir; | |
public float speed=5f; | |
public GameObject projectile; | |
public float offsetFromPlayer=1; | |
// Use this for initialization |
This file contains 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; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class RopeScript : MonoBehaviour { | |
public Vector2 destiny; | |
public float speed= 1; |
This file contains 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; | |
using System.Collections; | |
public class CameraScreenResolution : MonoBehaviour { | |
public bool maintainWidth=true; | |
[Range(-1,1)] | |
public int adaptPosition; | |
float defaultWidth; |
This file contains 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; | |
//makes sure object has this componentes | |
[RequireComponent(typeof(Rigidbody2D),typeof(SpringJoint2D),typeof(LineRenderer))] | |
public class grapplinghook : MonoBehaviour { | |
SpringJoint2D joint; | |
LineRenderer lr; | |
[SerializeField] |
This file contains 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
{ | |
"exercises": [ | |
{ | |
"ex_code": "ex_do_barco", | |
"points": [ | |
{ | |
"pcode": "angulo" | |
"values": [ | |
3, |
This file contains 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
import rospy | |
from sensor_msgs.msg import Image | |
import numpy as np | |
import cv2 | |
from cv_bridge import CvBridge | |
rospy.init_node('my_node', anonymous=True) |
This file contains 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
name: Basic API call (JavaScript) | |
description: Performs a basic Excel API call using plain JavaScript & Promises. | |
host: EXCEL | |
api_set: {} | |
script: | |
content: |+ | |
//const altert = require('alert-text-show-hide'); | |
$("#run").click(() => tryCatch(run)); |
This file contains 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
{ | |
"manifest_version": 2, | |
"name": "Redactor", | |
"version": "1.0", | |
"description": "Turn the content of pages confidential", | |
"permissions": ["storage","activeTab","tabs"], | |
"options_page": "options.html", | |
"browser_action": { | |
"default_popup": "popup.html", |