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
### USAGE | |
### # ./deploy_server.sh [check|exec] [y|n] | |
# apache:apacheにかきかえ | |
chown -R apache:apache /var/www/html/* | |
# (codeigniterの場合) cache logsを書き込み可能に | |
chmod -R 777 /var/www/html/cache | |
chmod -R 777 /var/www/html/application/logs | |
# デプロイ先のサーバ。シェルの場合スペース区切りで配列になります。 |
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 EnableTweenPosTest : MonoBehaviour { | |
private TweenPosition tp; | |
void Awake () { | |
tp = GetComponent<TweenPosition>(); | |
} |
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 sample : MonoBehaviour { | |
private UIPanel uiPanel; | |
private float sw; | |
void Awake() { | |
uiPanel = GetComponent<UIPanel>(); |
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; | |
[RequireComponent(typeof(Animator))] | |
public class PlayerControl : MonoBehaviour { | |
private Animator animator; | |
// Use this for initialization | |
void Start () { |
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 SpherePlayer : MonoBehaviour { | |
public float speed = 5f; | |
public float range = 5f; | |
void Update () { | |
float z = Input.GetAxisRaw ("Vertical"); |
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 UniRx; | |
using UnityEngine.UI; | |
public enum GameState { | |
STATE_1, | |
STATE_2, | |
STATE_3 | |
} |
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.Advertisements; | |
using UnityEngine.UI; | |
public class ResultCallbackTest : MonoBehaviour | |
{ | |
[SerializeField] | |
private string gameID = "26870"; | |
[SerializeField] | |
private bool isTestMode = false; |
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
#pragma strict | |
import UnityEngine.UI; | |
import UnityEngine.Advertisements; | |
var gameID : String = "26870"; // GAME ID | |
var isTestMode : boolean = false; // テストモード | |
var zoneID : String = "rewardedVideoZone"; // ZONE ID | |
var text : Text; // デバッグ用のUI.Text | |
var options : ShowOptions; // ShowOptions一時格納用 |
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.Advertisements; | |
public class NewBehaviourScript : MonoBehaviour | |
{ | |
[SerializeField] | |
private string GameID = "26870"; | |
void Awake () | |
{ |
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 UnityEngine.Advertisements; // Unity Ads を使うための宣言 | |
public class UnityAdsSample : MonoBehaviour | |
{ | |
public string gameID; | |
void Awake () | |
{ |
OlderNewer