예제 #1
0
 private void InitSideScrollerOnce()
 {
     if (sideScroller != null)
     {
         if (sideScroller.Init())
         {
             sideScroller = null;
         }
     }
 }
예제 #2
0
 private void Start()
 {
     sideScroller = GetComponent <SideScroller>();
     meshRenderer.material.SetColor("_RendererColor", color);
 }