コード例 #1
0
ファイル: TouchMonitor.cs プロジェクト: pyrobot/plong
 void Awake()
 {
     if (_this) { Debug.Log("Only one TouchMonitor can exist in the scene"); return; }
     _this = this;
 }
コード例 #2
0
 protected override void Start()
 {
     TouchMonitor = GetComponentInParent <TouchMonitor>();
 }