private void Awake() { toggle = autoScrollToggle; log = logText; sRect = scrollRect; alsoUseDebugLog = AlsoUseDebugLog; LogView.Log("LogView is ready."); }
private void Update() { // 1秒ごとにログを出す。 if (Time.time < lastUpdatedTime + 1.00f) { return; } float flooredTime = Mathf.Floor(Time.time); LogView.Log("Time.time: " + flooredTime.ToString()); lastUpdatedTime += 1.00f; }
private void Start() { LogView.Log("Start"); }
private void Awake() { LogView.Log("Awake"); }
private void Start() { layermask = LayerMaskGenerator.Generate(IgnoreLayer.Specified, this.gameObject.layer); LogView.Log("Detector will ignore: [" + LayerMask.LayerToName(this.gameObject.layer) + "] layer."); }