Skip to content
Discussion options

You must be logged in to vote

Thanks for the reply!
I'm trying to put this as code on this comment, but I failed...

here is the code of SpawnGroup:
`
using UnityEngine;
using Random = UnityEngine.Random;

[CreateAssetMenu(fileName="New SpawnGroup",menuName="Spawn Group")]
public class SpawnGroup : ScriptableObject
{
[Header("Spawn Group")]
[Tooltip("Name of the Group Selection")]
[SerializeField]
private string spawnGroupName;
public string SpawnGroupName => spawnGroupName;

[Header("Selection Enemy Of Group Settings")]
[Tooltip("The group of ID enemies that will be used in the spawn")]
[SerializeField]
private GameObject[] enemySpawnGroup;
public GameObject[] EnemySpawnGroup => enemySpawnGroup;

[Tooltip("The selection…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@yasirkula
Comment options

Comment options

You must be logged in to vote
2 replies
@yasirkula
Comment options

@riqmariz
Comment options

Answer selected by riqmariz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants