Example #1
0
 private void Start()
 {
     gamemanager = FindObjectOfType <Gamemanager>();
     lc          = FindObjectOfType <LevelChanger>();
     lc.BlockCreated();
     if (invisible)
     {
         sRender         = GetComponent <SpriteRenderer>();
         sRender.enabled = false;
     }
 }