コード例 #1
0
    private void SpawnChild()
    {
        SubdividerElement spawnedChild = Instantiate(prefab);

        spawnedChild.Initialize(subdividerElement.CurrentLevel + 1, subdividerElement.Name);
    }
コード例 #2
0
    private void SpawnChild()
    {
        SubdividerElement spawnedChild = Instantiate(Prefab);

        spawnedChild.Initialize(CurrentLevel + 1, ObjectName);
    }