OVRNamedArrayAttribute.cs 1.3 KB

1234567891011121314151617181920212223242526272829
  1. /************************************************************************************
  2. Filename : OVRNamedArrayAttribute.cs
  3. Content : Adds support for a named array attribute in the editor
  4. Created : May 17th, 2018
  5. Copyright : Copyright Facebook Technologies, LLC and its affiliates.
  6. All rights reserved.
  7. Licensed under the Oculus Audio SDK License Version 3.3 (the "License");
  8. you may not use the Oculus Audio SDK except in compliance with the License,
  9. which is provided at the time of installation or download, or which
  10. otherwise accompanies this software in either electronic or hard copy form.
  11. You may obtain a copy of the License at
  12. https://developer.oculus.com/licenses/audio-3.3/
  13. Unless required by applicable law or agreed to in writing, the Oculus Audio SDK
  14. distributed under the License is distributed on an "AS IS" BASIS,
  15. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. See the License for the specific language governing permissions and
  17. limitations under the License.
  18. ************************************************************************************/
  19. using UnityEngine;
  20. // Adds support for a named array attribute in the editor
  21. public class OVRNamedArrayAttribute : PropertyAttribute {
  22. public readonly string[] names;
  23. public OVRNamedArrayAttribute( string[] names ) { this.names = names; }
  24. }