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 System.Collections; | |
using UnityEngine; | |
public class DestroyMine : MonoBehaviour | |
{ | |
private static GameObject allowAttachedObject; | |
private DestroyMine() | |
{ | |
} |
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 System.Collections; | |
using UnityEngine; | |
public class CameraAttention : MonoBehaviour | |
{ | |
public GameObject destination; | |
public GameObject lookAtPos; | |
public float moveSpeed; | |
public float rotateSpeed; |
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 System.Collections; | |
using UnityEngine; | |
[RequireComponent(typeof(MoveBall))] | |
[RequireComponent(typeof(DestroyOnOutOfCamera))] | |
[RequireComponent(typeof(Collider2D))] | |
public class Ball : MonoBehaviour | |
{ | |
private 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 System.Collections; | |
using UnityEngine; | |
public class Circle_Expr : MonoBehaviour | |
{ | |
[SerializeField] | |
private GameObject ball = default(GameObject); | |
[SerializeField] | |
private float speed = default(float); |
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 System.Collections; | |
using UnityEngine; | |
public class DestroyOnOutOfCamera : MonoBehaviour | |
{ | |
private void OnBecameInvisible() | |
{ | |
Destroy(gameObject); | |
} | |
} |
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 System.Collections; | |
using UnityEngine; | |
public class Gero : MonoBehaviour | |
{ | |
[SerializeField] | |
private GameObject ball = default(GameObject); | |
[SerializeField] | |
private float speed = default(float); | |
[SerializeField] |
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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class MoveBall : MonoBehaviour | |
{ | |
private event Action<Transform, System.Object> Move = delegate { }; | |
private bool isMove; | |
private object param; |
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 System.Collections; | |
using System.Linq; | |
using UnityEngine; | |
public class Sin_Expr : MonoBehaviour | |
{ | |
[SerializeField] | |
private GameObject ball = default(GameObject); | |
[SerializeField] | |
private float speed = default(float); |
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 System.Collections; | |
using UnityEngine; | |
public class TimeDestroy : MonoBehaviour | |
{ | |
[SerializeField] | |
private float destroyTime = default(float); | |
private float start; | |
private 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 System.Collections; | |
using System.IO; | |
using System.Xml.Serialization; | |
using UnityEngine; | |
public class GUI_Pass : MonoBehaviour | |
{ | |
private string pass = string.Empty; | |
private void OnGUI() |