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 System.Collections; | |
| public class generators : MonoBehaviour { | |
| public GameObject objType1; | |
| public GameObject objType2; | |
| public Transform spawnPoint; |
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 System.Collections; | |
| public class SpawnManager : MonoBehaviour { | |
| public GameObject objtype1; | |
| public Transform spawnPos; | |
| public int maxSpawns,curSpawns; |
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 System.Collections; | |
| public class FixedMovement : MonoBehaviour { | |
| public float verSpd; | |
| public float horSpd; |
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 System.Collections; | |
| public class PlayerControl : MonoBehaviour { | |
| public float verSpd; | |
| public float horSpd; | |
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 System.Collections; | |
| using System; | |
| public class DateTime_timer : MonoBehaviour { | |
| public DateTime dt_TimeStarted;//time started | |
| public double dt_CurTime;// (TimeStarted - Current Time) = time since code started .. |
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 System.Collections; | |
| using System; | |
| public class Timers : MonoBehaviour { | |
| public float myTimer;//First timer variable |
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 System.Collections; | |
| public class PlatformControls : MonoBehaviour { | |
| //Boolean variables can be true or false you'd use this to see wheather something is happening or a variable is set. | |
| public bool isGrounded;//is my player colliding with the floor? | |
| public bool isJumping;//is my player jumping or can he jump? |
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
| $start_d = Input::get('start_d'); | |
| $end_d= Input::get('end_d'); | |
| $end_d = date('Y-m-d', strtotime(str_replace('/', '-', $end_d))); | |
| $end_d = Carbon::createFromFormat('Y-m-d H', $end_d)->toDateTimeString(); | |
| $start_d = date('Y-m-d', strtotime(str_replace('/', '-', $start_d))); | |
| $start_d = Carbon::createFromFormat('Y-m-d H', $start_d)->toDateTimeString(); |
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
| if($validator->fails()){ | |
| return Response::json(['error' => 1, | |
| 'msg'=>$validator->errors() | |
| ]); | |
| } | |
| else{ | |
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
| <form action="{{ URL::to('/users/editprofile') }}" role="form" name="editprofile" id="editprofile" class="form-horizontal form-border" method="POST" accept-charset="utf-8"> | |
| <div style="display:none;"> | |
| <input type="hidden" name="_method" value="POST"/> | |
| <input type="hidden" name="user_id" class="form-control" id="UserUserId" value='{{$user->user_id}}'/> | |
| </div> | |
| REST OF THE FORM HERE | |
| </form> | |