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.Collections.Generic; | |
| using UnityEngine; | |
| using NUnit.Framework; | |
| using UnityEngine; | |
| using UnityEngine.TestTools; | |
| public class SnakeTest | |
| { |
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.Collections.Generic; | |
| using UnityEngine; | |
| using Unity.Mathematics; | |
| using UnityEngine.Splines; | |
| public class SplineRoad : MonoBehaviour | |
| { | |
| [SerializeField] SplineContainer _spline; | |
| [SerializeField] Material _mtl; |
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.Collections.Generic; | |
| using System.IO; | |
| using System.Text; | |
| using UnityEngine; | |
| public class LASImporter | |
| { | |
| public void Import(string filename) | |
| { |
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.Collections.Generic; | |
| using UnityEngine; | |
| public class ScaleDrag : MonoBehaviour | |
| { | |
| Camera _cam; | |
| Transform _dragObject; | |
| Vector3 _localPos; | |
| Quaternion _localRot; |
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.Collections.Generic; | |
| using UnityEngine; | |
| using LaHuman; | |
| public class YBRigControl : MonoBehaviour | |
| { | |
| LaHumanRig _rig; | |
| BodyTransformsData _body = new BodyTransformsData(); | |
| Dictionary<string, GameObject> _dicObj = new Dictionary<string, 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 System.Collections.Generic; | |
| using UnityEngine; | |
| public class Snake : MonoBehaviour { | |
| // 軌跡 | |
| struct Trail | |
| { | |
| public Vector3 Position; | |
| public Quaternion Rotation; |
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.Generic; | |
| public class DExpression | |
| { | |
| public delegate object Function(Node n); | |
| static char[] _operators = new char[] { '+', '-', '*', '/' }; | |
| static char[] _bracket = new char[] { '(', ')' }; |
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.Text; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| [RequireComponent(typeof(Text))] | |
| public class MaxGameObjects : MonoBehaviour { | |
| string[] _units = new string[]{"","万","億","兆","京"}; | |
| int _num = 0; | |
| int _createOneFrame = 100; | |
| Text _text; |
NewerOlder