OLD_STEP_LIST_EDITOR
Documentation for the Unity C# Library
Loading...
Searching...
No Matches
MovableUIElement.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
namespace
Scripts.UI.UIPositioningSystem
4
{
5
public
class
MovableUIElement
: MonoBehaviour,
IMovableUIElement
6
{
7
[SerializeField]
private
Transform
_rotationAxisTransform
;
8
[SerializeField]
private
float
_rotationStep
;
9
10
public
void
ProcessIntersection
()
11
{
12
transform.RotateAround(
_rotationAxisTransform
.position,
_rotationAxisTransform
.up,
_rotationStep
);
13
}
14
}
15
}
Scripts.UI.UIPositioningSystem.MovableUIElement
Definition
MovableUIElement.cs:6
Scripts.UI.UIPositioningSystem.MovableUIElement._rotationStep
float _rotationStep
[SerializeField]
Definition
MovableUIElement.cs:14
Scripts.UI.UIPositioningSystem.MovableUIElement._rotationAxisTransform
Transform _rotationAxisTransform
[SerializeField]
Definition
MovableUIElement.cs:10
Scripts.UI.UIPositioningSystem.MovableUIElement.ProcessIntersection
void ProcessIntersection()
Definition
MovableUIElement.cs:16
Scripts.UI.UIPositioningSystem.IMovableUIElement
Definition
IMovableUIElement.cs:4
Scripts.UI.UIPositioningSystem
Definition
CameraSource.cs:4
com.pixovr.eventunitysdk
Runtime
Sdk
Scripts
UIPositioningSystem
MovableUIElement.cs
Generated
Wed Oct 9 2024 19:24:03
by Doxygen version
1.10.0