Пример #1
0
    public override void AfterSpawn()
    {
        StatBarUI statBar = spawnedInstance.GetComponent <StatBarUI>();

        statBar.statType = statType;
        statBar.statName = statName;
        statBar.LoadData();
    }