Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="source">The source of the scenario agent type, this variant is a part of this source</param>
 /// <param name="name">Name of this agent variant</param>
 /// <param name="prefab">Prefab used to visualize this agent variant</param>
 /// <param name="description">Description with agent variant details</param>
 /// <param name="guid">Guid of the vehicle</param>
 /// <param name="assetGuid">Guid of the asset loaded within this vehicle</param>
 public CloudAgentVariant(ScenarioAgentSource source, string name, GameObject prefab, string description,
                          string guid,
                          string assetGuid) : base(source, name, prefab, description)
 {
     this.guid      = guid;
     this.assetGuid = assetGuid;
 }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="source">The source of the scenario agent type, this variant is a part of this source</param>
 /// <param name="name">Name of this agent variant</param>
 /// <param name="prefab">Prefab used to visualize this agent variant</param>
 /// <param name="description">Description with agent variant details</param>
 public AgentVariant(ScenarioAgentSource source, string name, GameObject prefab, string description)
 {
     this.source      = source;
     this.name        = name;
     this.prefab      = prefab;
     this.description = description;
     IsPrepared       = prefab != null;
 }
Пример #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="source">The source of the scenario agent type, this variant is a part of this source</param>
 /// <param name="name">Name of this agent variant</param>
 /// <param name="prefab">Prefab used to visualize this agent variant</param>
 /// <param name="description">Description with agent variant details</param>
 /// <param name="guid">Guid of the vehicle</param>
 /// <param name="assetGuid">Guid of the asset loaded within this vehicle</param>
 public EgoAgentVariant(ScenarioAgentSource source, string name, GameObject prefab, string description,
                        string guid, string assetGuid) : base(source, name, prefab, description, guid, assetGuid)
 {
 }