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 UnityEditor; | |
using UnityEngine; | |
// timescaleをデバッグ用に操作 | |
public class TimeScaleEditor | |
{ | |
// 現在の2倍速に ショートカットキー「Cmd + ↑」 | |
[MenuItem("Tools/TimeScale/SpeedUpx2 %UP")] | |
static void SpeedUpx2() |
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
Exception: JNI: Init'd AndroidJavaClass with null ptr! | |
UnityEngine.AndroidJavaClass..ctor (System.IntPtr jclass) (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:622) | |
UnityEngine.AndroidJavaObject.get_JavaLangClass () (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:600) | |
UnityEngine.AndroidJavaObject.FindClass (System.String name) (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:591) | |
UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) (at /Users/builduser/buildslave/unity/build/Runtime/Export/AndroidJavaImpl.cs:611) | |
UnityEngine.AndroidJavaClass..ctor (System.String className) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/AndroidJavaBindings.gen.cs:92) | |
AppLovin.getDefaultPlugin () (at Assets/Plugins/AppLovin/AppLovin.cs:106) | |
AppLovin.SetSdkKey (System.String sdkKey) (at Assets/Plugins/AppLovin/AppLovin.cs:560) | |
GameSceneSingleton.RequestRewardBasedVideo () (at Assets/Scri |
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
GameObject prefab = (GameObject)Resources.Load("Prefabs/UI/Balloons/BtnBalloon") as GameObject; | |
GameObject BalloonPrefab = NGUITools.AddChild(BalloonParentObj, prefab);// NGUIに追加 帰り値で、prefabの実体を参照 | |
Destroy(BalloonPrefab,4f); //4秒後に追加したprefabを削除 | |
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
// 〜〜省略 | |
GameSceneSingleton.Instance.setVideoSdkCallbackListener(this); | |
// 〜〜省略 | |
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
TabLayout tabLayout = (TabLayout) findViewById(R.id.tabs); | |
tabLayout.setupWithViewPager(mViewPager); | |
tabLayout.getTabAt(0).setCustomView(R.layout.design_fragment_icon_camera); | |
tabLayout.getTabAt(1).setCustomView(R.layout.design_fragment_line_weight); | |
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
Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES. |
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
pod 'FBAudienceNetwork' |
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; | |
// unity ads | |
using UnityEngine.Advertisements; | |
public class GameSceneSingleton { |
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
_webView.scalesPageToFit = YES; |
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
transform.localEulerAngles.z; |
NewerOlder