|
I'm using this plugin, so game designers can inspect objects outside the project and generate jsons. But some objects that have a object reference field does not respect the order, it always goes first. How can I ensure to respect the order on the runtime inspector? |
Answered by
riqmariz
Jan 8, 2021
Replies: 2 comments 3 replies
|
Thanks for the reply! here is the code of SpawnGroup: [CreateAssetMenu(fileName="New SpawnGroup",menuName="Spawn Group")] (...) |
2 replies
Answer selected by
riqmariz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


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;