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
// Updated method in PhotonTransformViewRotationControl.cs | |
public void OnPhotonSerializeView( Quaternion currentRotation, PhotonStream stream, PhotonMessageInfo info ) | |
{ | |
if( m_Model.SynchronizeEnabled == false ) | |
{ | |
return; | |
} | |
if( stream.isWriting == 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
// Originally from MALQUA | |
// https://feedback.unity3d.com/suggestions/custom-element-size-in-reorderable-list | |
// http://i.imgur.com/fIbBorr.gifv | |
// and SOCAPEX | |
// https://gist.github.com/Socapex/1d9b45507464681d530b | |
// Modified by Jesse Hamburger | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditorInternal; |
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
https://www.dropbox.com/s/1qefqafi33pfqfy/TCG%20Build%201.zip?dl=0 | |
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
protected override int _add(VirtualItem item, int amount, bool notify){ | |
Debug.Log("To notify? " + notify); | |
int retBalance; | |
AndroidJNI.PushLocalFrame(100); | |
using(AndroidJavaClass jniStorageManager = new AndroidJavaClass("com.soomla.store.data.StorageManager")) { | |
using(AndroidJavaObject jniVCStorage = jniStorageManager.CallStatic<AndroidJavaObject>("getVirtualCurrencyStorage")) { | |
Debug.Log(">>>>>>>>before call"); | |
retBalance = jniVCStorage.Call<int>("add", item.ItemId, amount, notify); | |
Debug.Log(">>>>>>>>after call"); | |
} |
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
03-26 00:46:18.871 18592-18592/? D/wpa_supplicant﹕ nl80211: survey data missing! | |
03-26 00:46:18.872 450-532/? I/WifiStateMachine﹕ fetchRssiAndLinkSpeedNative, newRssi:-42, newLinkSpeed:65 | |
03-26 00:46:18.872 450-532/? D/StateMachine﹕ handleMessage: X | |
03-26 00:46:18.991 450-466/? V/Provider/Settings﹕ from settings cache , name = sys_free_storage_log_interval , value = null | |
03-26 00:46:18.992 450-466/? V/Provider/Settings﹕ from settings cache , name = disk_free_change_reporting_threshold , value = null | |
03-26 00:46:19.023 176-176/? W/ADB_SERVICES﹕ create_local_service_socket() name=shell:logcat -c | |
03-26 00:46:19.024 14779-14779/? W/ADB_SERVICES﹕ adb: unable to open /proc/14779/oom_adj | |
03-26 00:46:19.042 176-176/? D/ADB_SERVICES﹕ closing because is_eof=1 r=-1 s->fde.force_eof=0 | |
03-26 00:46:19.468 450-516/? D/InputReader﹕ AP_PROF:AppLaunch_dispatchPtr:Down:531762778 | |
03-26 00:46:19.468 450-516/? I/AP_PROF﹕ unable to open /proc/mtprof/status entry |
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 override ActionResult Execute(RAIN.Core.AI ai) | |
{ | |
if (!WanderTargetVariable.IsVariable) | |
throw new Exception("The Choose Wander Position node requires a valid Wander Target Variable"); | |
float tWanderDistance = 0f; | |
if (WanderDistance.IsValid) | |
tWanderDistance = WanderDistance.Evaluate<float>(ai.DeltaTime, ai.WorkingMemory); | |
if (tWanderDistance <= 0f) |
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
template<class T> | |
class WrapperVector { | |
public: | |
WrapperVector(size_t n = 10): | |
_data(new T[n]()), | |
_size(n) | |
{ | |
} | |
WrapperVector(const WrapperVector<T> & other): |
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 java.io.File; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String [] args) throws IOException { |
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 java.io.File; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String [] args) throws IOException { |
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 java.io.File; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String [] args) throws IOException { |
NewerOlder