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 ArrayShuffleTest : MonoBehaviour { | |
public GameObject[] Object; | |
void Start () { | |
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 EndSECallBack : MonoBehaviour { | |
private AudioSource SE; | |
void Start () { | |
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 UnityEngine.EventSystems; | |
public class TouchEventTest : MonoBehaviour, IPointerDownHandler { | |
public void OnPointerDown(PointerEventData data){ | |
//ここに処理を書く。 | |
Debug.Log ("タッチしたよー!"); |
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 System.Linq; | |
using System; | |
public class ShuffleUseGuid : MonoBehaviour { | |
public GameObject[] Object; |
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 System; | |
using UnityEditor; | |
public class GuidSample : MonoBehaviour { | |
void Start () { | |
string t = AssetDatabase.AssetPathToGUID ("Assets/FileName"); |
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 UnityEngine.EventSystems; | |
//CameraのProjectionはOrthographicに。 | |
public class DragEventTest : MonoBehaviour,IDragHandler { | |
public void OnDrag(PointerEventData data){ | |
Vector3 TargetPos = Camera.main.ScreenToWorldPoint (data.position); |
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 UnityEngine.EventSystems; | |
public class Collider2DOverlapTest : MonoBehaviour,IDragHandler { | |
[SerializeField] | |
private GameObject EnteredObject; |
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 UnityEngine.EventSystems; | |
public class BoundsContainsTest : MonoBehaviour,IDragHandler { | |
[SerializeField] | |
private GameObject EnteredObject; | |
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
Shader "Unlit/DecalCustom" | |
{ | |
Properties | |
{ | |
_MainTex ("MainTex", 2D) = "white" {} | |
_SubTex("SubTex",2D)="white"{} | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Opaque" |
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
fileFormatVersion: 2 | |
guid: f2f994c0d0f9b4a24b4c4615306b56ef | |
timeCreated: 1532129949 | |
licenseType: Free | |
TextureImporter: | |
fileIDToRecycleName: {} | |
externalObjects: {} | |
serializedVersion: 4 | |
mipmaps: | |
mipMapMode: 0 |
OlderNewer