コード例 #1
0
    private void Start()
    {
        maxHits = hitSprites.Length + 1;
        level   = FindObjectOfType <LevelManager>();
        status  = FindObjectOfType <GameStatus>();

        if (tag == "BreakableBlock")
        {
            level.AddBreakableBlock();
        }
    }