Skip to content

Instantly share code, notes, and snippets.

View tubakihimeLoveHate's full-sized avatar

tubakihimeLoveHate

View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Follow_Camera : MonoBehaviour
{
[SerializeField]
private Transform target;
Vector3 offset;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler{
    [SerializeField]
    float speed = 3f;
    //歩行時=1,走行時=2
    float pulusSpeed=1;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler{
[SerializeField]
float speed = 3f;
//歩行時=1,走行時=2
float pulusSpeed=1;
using UnityEngine;
using UnityEngine.EventSystems;
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler
{
public void OnBeginDrag(PointerEventData eventData){
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler
{
    [SerializeField]//基礎スピード
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraControllerv2 : MonoBehaviour
{
[SerializeField]
private Transform player;
private Vector3 offset;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireController : MonoBehaviour
{
AnimatorStateInfo state;
Animator animator;
public GameObject fireEffect;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CreatePinPoint : MonoBehaviour
{
[SerializeField]
private float distance = 20.0f;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VerticalOnlyCamera : MonoBehaviour
{
// This Camera move only verticle.
// So camera transform in player children.
// このカメラは縦の視点移動のみです。利用する場合はこのクラスをアタッチするカメラをプレイヤーの子にしてください。
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PinSystemOverlay : MonoBehaviour
{
private Camera targetCamera; // 映っているか判定するカメラへの参照
private Transform canvas;
[SerializeField]