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
| var i = 0; | |
| var myArray = [1,2,3,4,5]; | |
| document.write('While Loop:<br>'); | |
| while(i < 5) | |
| { | |
| document.write(myArray[i]); | |
| i = i+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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <form action="file:///C:/Users/and0n/eclipse-workspace/My%20Website%20Project/server_demo.html"> | |
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
| /* AMPDREW RESPONSIVE LAYOUT STYLING */ | |
| .ampd-section { | |
| overflow: auto; | |
| width:100%; | |
| } | |
| .ampd-row { | |
| padding:10px; | |
| margin: 0 auto; | |
| max-width:1000px; |
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
| #Force HTTPS | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{HTTPS} off | |
| RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
| </IfModule> |
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 cameraSwitch : MonoBehaviour { | |
| public Camera cam1; | |
| public Camera cam2; | |
| public GameObject UI; |
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 AndrewPlayerController : MonoBehaviour { | |
| public bool canShoot; //Can the player shoot? | |
| public float shootInterval; // Amount of time in seconds between shots | |
| public float currentTime; |
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.UI; | |
| using UnityEngine.SceneManagement; | |
| public class PickupController : MonoBehaviour { | |
| public bool gdd1100; | |
| public bool gdd2100; |
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; | |
| using UnityEngine.UI; | |
| using UnityEngine.SceneManagement; | |
| public class PickupControllerMedium : MonoBehaviour { | |
| public bool gdd1100; | |
| public bool gdd2100; | |
| public bool gdd2150; | |
| public bool gdd1200; | |
| public bool cs3350; |
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 UFOScript : MonoBehaviour { | |
| public float rotationSpeed; | |
| public float movementSpeed; | |
| public float distanceThreshold; // closeness to Waypoint before switching trajectory |
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.SceneManagement; | |
| public class Chopper3 : MonoBehaviour { | |
| float forwardAccel; // Forward Acceleration | |
| public float forwardVelocity; // Velocity in the forward direction | |
| public float forwardVelocityMultiplier; // Multiplier for forward velocity 0.0005 is working great |
NewerOlder