Method Initialize
Initialize()
Implement Initialize() to perform one-time initialization or set up of the
Agent instance.
Declaration
public virtual void Initialize()
Remarks
Initialize() is called once when the agent is first enabled. If, for example,
the Agent object needs references to other [GameObjects] in the scene, you
can collect and store those references here.
Note that OnEpisodeBegin() is called at the start of each of the agent's "episodes". You can use that function for items that need to be reset for each episode.