SSHではGUIが使えない
GUIのリモート接続を実現するには、VNCやRDPを使う
※リモート接続でなく、ローカルでのCUI⇔GUIは、「runlevel変更.md」を参照のこと
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Lookat : MonoBehaviour | |
{ | |
Plane plane = new Plane(); | |
float distance = 0; | |
void Update() |
using UnityEngine; | |
using UnityEditor; | |
public class ObjectDeplicate | |
{ | |
[MenuItem("Edit/DummyDeplicate %d", false, -1)] | |
static void CreateEmptyObjec2t() | |
{ | |
foreach (var obj in Selection.objects) | |
{ |
SSHではGUIが使えない
GUIのリモート接続を実現するには、VNCやRDPを使う
※リモート接続でなく、ローカルでのCUI⇔GUIは、「runlevel変更.md」を参照のこと
// escodegen has a fucked up API for attaching comments | |
// https://github.com/estools/escodegen/issues/10 | |
var esprima = require("esprima"); | |
var es = require("escodegen"); | |
var ast = esprima.parse( | |
'//comment here\nvar answer = 42;', | |
{range: true, tokens: true, comment: true}); | |
// attaching comments is a separate step |
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
public class ScrollController : MonoBehaviour { | |
[SerializeField] | |
RectTransform prefab = null; | |
void Start () |
using UnityEngine; | |
using System.Collections; | |
public class InstantateAsyncManager : MonoBehaviour { | |
public static InstantateAsyncManager Instance; | |
void Awake () { | |
Instance = this; | |
} |