24 lines
944 B
C#
24 lines
944 B
C#
|
||
/*******************************************************************************
|
||
Copyright © 2015-2022 PICO Technology Co., Ltd.All rights reserved.
|
||
|
||
NOTICE:All information contained herein is, and remains the property of
|
||
PICO Technology Co., Ltd. The intellectual and technical concepts
|
||
contained herein are proprietary to PICO Technology Co., Ltd. and may be
|
||
covered by patents, patents in process, and are protected by trade secret or
|
||
copyright law. Dissemination of this information or reproduction of this
|
||
material is strictly forbidden unless prior written permission is obtained from
|
||
PICO Technology Co., Ltd.
|
||
*******************************************************************************/
|
||
using UnityEngine;
|
||
namespace Unity.XR.PXR.Debugger
|
||
{
|
||
public class Ball : MonoBehaviour
|
||
{
|
||
void Update()
|
||
{
|
||
transform.position = Vector3.up*Mathf.Sin(Time.time)+Vector3.forward*0.5f;
|
||
}
|
||
}
|
||
}
|