示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     unlocker       = Instantiate(UnlockSprite, this.transform).GetComponent <UnlockerSprite>();
     tile           = GetComponent <Tile>();
     tile.OnSpread += UnlockTile;
     tileToUnlock.AddUnlocker(this);
     unlocker.DecideColor(mold);
 }