Skip to content

Conversation

@sleal-unity
Copy link
Contributor

@sleal-unity sleal-unity commented Jan 31, 2021

Peer Review Information:

This PR removes the randomization tooling from the experimental namespace.

Note: I noticed that we include some references to assemblies that are no longer present in the perception package (PathCreator and QuickGraph) so I used this PR as an opportunity to remove them. I also sorted the order of the existing asmdef references while playing with Rider's "Sort Lines" code editing feature.

Editor / Package versioning:

Editor Version Target: 2019.4

Checklist

  • - Updated docs
  • - Updated changelog

@sleal-unity sleal-unity requested a review from mkamalza January 31, 2021 21:55
using System;

namespace UnityEngine.Experimental.Perception.Randomization.Parameters
namespace UnityEngine.Perception.Randomization.Parameters
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there are many users of these APIs now, we should add [MovedFrom] decorations to the public types so that the script updater will automatically update users' code when they update to the latest package. For more, see https://confluence.unity3d.com/display/DEV/Move+type+to+another+namespace

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! I've added this attribute to all our public API's.

@sleal-unity sleal-unity requested review from JonathanHUnity and removed request for mkamalza February 1, 2021 17:48
@JonathanHUnity JonathanHUnity merged commit d4fb39e into master Feb 1, 2021
@JonathanHUnity JonathanHUnity deleted the remove-experimental-namespace branch February 1, 2021 19:26
eugeneteoh pushed a commit to eugeneteoh/com.eugeneteoh.perception that referenced this pull request Apr 29, 2023
…Technologies#177)

* removed randomization tooling from the experimental namespace

* removed experimental namespace from randomization docs

* removed vestigial precompiled references from asmdefs

* added note to parameters doc

* added helpful link inside parameters doc

* fixed script name

* added MovedFrom attribute to randomization APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants