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 MongoDB.Bson; | |
using MongoDB.Driver; | |
using MongoDB.Driver.Builders; | |
using MongoDB.Driver.GridFS; | |
using MongoDB.Driver.Linq; | |
using System.IO; | |
public class HiMongo : MonoBehaviour { |
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
public int TestWithGist(){ | |
return 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
using UnityEngine; | |
using System.Collections; | |
using LWWeaponSystem; | |
using LWNet; | |
using LWControl; | |
namespace LWCharacterSystem.Player | |
{ | |
[RequireComponent(typeof(AudioSource))] | |
public class LWCharacterController : MonoBehaviour | |
{ |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class wq : MonoBehaviour { | |
public float LastRot; | |
public float Threshold=60.0f; | |
public float Anim, Current; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SmoothSyncTest : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
StartCoroutine(NetworkSyncEmulating()); | |
} |
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
/* | |
Input: x,n,p (Each inputs should separated by space or line) | |
Output: b(x,n,p) | |
*/ | |
#include<iostream> | |
#include<cmath> | |
using namespace std; | |
long long int factorial(int n){ | |
long long int _result=1; | |
for(int _n = n;n>=1;n--){ |
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
```cs | |
using LWWeaponSystem; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Dazad : MonoBehaviour | |
{ | |
public enum ItemTypes |
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
#include<bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
float A[2][2] = {{1,2}, | |
{2,3} | |
}; | |
float a,b,c,d; |
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
//Unity C# | |
PlayFabSettings.TitleId = "Your Title Id"; | |
PlayFabSettings.DeveloperSecretKey = "Your Developer Secret Key"; | |
PlayFabAuthenticationAPI.GetEntityToken(new GetEntityTokenRequest { }, | |
res => | |
{ | |
Debug.Log(res); | |
Debug.Log(res.Entity.Id);//Should be the title id | |
Debug.Log(res.EntityToken); | |
Debug.Log(res.Entity.Type);//Should be "title" |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using LW.Gameplay.Player; | |
namespace LW.Gameplay.Weapons | |
{ | |
public class Aimer : MonoBehaviour | |
{ | |
[ReadOnly] |
OlderNewer