Class UserArchetype
Scriptable Object used to generate UserGroups.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
UserArchetype
Inherited Members
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance(System.String)
UnityEngine.ScriptableObject.CreateInstance(System.Type)
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfType(System.Type, System.Boolean)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type, System.Boolean)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GDA
Assembly: Assembly-CSharp.dll
Syntax
[CreateAssetMenu(menuName = "ScriptableObjects/UserArchetype")]
public class UserArchetype : ScriptableObject
Fields
groupFirstName
List of words to generate the front part of the name of a UserGroup belonging to the UserArchetype
Declaration
public string[] groupFirstName
Field Value
Type | Description |
---|---|
System.String[] |
groupLastName
List of words to generate the back part of the name of a UserGroup belonging to the UserArchetype
Declaration
public string[] groupLastName
Field Value
Type | Description |
---|---|
System.String[] |
userGrpProperties
The properties of the usergroup. Editable from the Unity Inspector.
Declaration
public List<DetailGenerator> userGrpProperties
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<DetailGenerator> |
Properties
description
The description of the user archetype
Declaration
public virtual string description { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GenerateUserGroup(UserArchetype.SizeMagnitude)
Generates a UserGroup according to the parameters in the UserArchetype.
Declaration
public UserGroup GenerateUserGroup(UserArchetype.SizeMagnitude magnitude)
Parameters
Type | Name | Description |
---|---|---|
UserArchetype.SizeMagnitude | magnitude | The size magnitude of the group to generate. |
Returns
Type | Description |
---|---|
UserGroup |