Exemplo n.º 1
0
 private void Awake()
 {
     toggle          = autoScrollToggle;
     log             = logText;
     sRect           = scrollRect;
     alsoUseDebugLog = AlsoUseDebugLog;
     LogView.Log("LogView is ready.");
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 private void Start()
 {
     LogView.Log("Start");
 }
Exemplo n.º 4
0
 private void Awake()
 {
     LogView.Log("Awake");
 }
Exemplo n.º 5
0
 private void Start()
 {
     layermask = LayerMaskGenerator.Generate(IgnoreLayer.Specified, this.gameObject.layer);
     LogView.Log("Detector will ignore: [" + LayerMask.LayerToName(this.gameObject.layer) + "] layer.");
 }