Elin Decompiled Documentation
EA 23.102 Nightly
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
Files
File List
File Members
All
$
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
z
Functions
Variables
Enumerations
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
z
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
Loading...
Searching...
No Matches
RigidAngle.cs
Go to the documentation of this file.
1
using
UnityEngine;
2
3
public
class
RigidAngle
:
RigidUpdate
4
{
5
public
float
angle
;
6
7
public
float
force
= 0.05f;
8
9
public
override
void
OnFixedUpdate
()
10
{
11
float
num = Mathf.Lerp(
rb
.rotation,
angle
,
force
);
12
rb
.MoveRotation(num);
13
}
14
}
RigidAngle
Definition:
RigidAngle.cs:4
RigidAngle.force
float force
Definition:
RigidAngle.cs:7
RigidAngle.OnFixedUpdate
override void OnFixedUpdate()
Definition:
RigidAngle.cs:9
RigidAngle.angle
float angle
Definition:
RigidAngle.cs:5
RigidUpdate
Definition:
RigidUpdate.cs:5
RigidUpdate.rb
Rigidbody2D rb
Definition:
RigidUpdate.cs:13
Elin
RigidAngle.cs
Generated by
1.9.6